This is regarding PostgresQl.
As per postgresQL Reference guide it is said that Joins(outer,inner,leftouter,rightouter) are
supported.
But when i run a query using the above mentioned joins ,i get a error message "not supported".
An example is given below.
I have two tables named TableA and TableB.
The fields of TableA are:
Aid(pk),Name.
The fields of TableB are:
Aid(fk),Detail.
say for example the data in TableA are
Aid Name
1 a
2 b
3 c
say for example the data in TableB are
Aid Detail
1 d1
3 d3
3 d33
the output which i need is
TableA.Aid count(TableB.Aid)
2 0
1 1
3 2
(ie) i need the count of records for each id in TableB which are present in TableA, in ascending order.
For the above scenario i used joins and i came to know those are not supported.
can anyone guide me regarding this.