Hi everyone,i have another question
currently in my database there are 2 tables which basically look like
parenttable
-------------------
id int
txtfield text
childtable
-------------------
id int
now i'd like to select all values from the parenttable and the number of childs in the childtable. "select p.id,p.txt,count(c.id) from parenttable p inner join childtable c on p.id=c.id group by c.id" won't work because i need to group by all values in the select statement, which is not possible because you can't group by a text field.
any idea?
jan