sukkarfarid
Sep 18, 2006, 01:22 AM
How can I change the my query to crosstab query..
please see the picture..
http://www.l22l.com/l22l-up-1/8a7081adec.jpg (http://www.l22l.com)
I write this code... how can I change to a crosstab query
SELECT SeaTable.location, Count(SeaTable.location) AS CountOflocation
FROM SSFMainTable INNER JOIN SeaTable ON SSFMainTable.ID = SeaTable.MainTLink
WHERE (((SSFMainTable.AD) Between [enter1] And [enter]))
GROUP BY SeaTable.location
HAVING (((SeaTable.location) Like "G/A*" Or (SeaTable.location) Like "Qiz*"));
Thanks and regards
Farid
please see the picture..
http://www.l22l.com/l22l-up-1/8a7081adec.jpg (http://www.l22l.com)
I write this code... how can I change to a crosstab query
SELECT SeaTable.location, Count(SeaTable.location) AS CountOflocation
FROM SSFMainTable INNER JOIN SeaTable ON SSFMainTable.ID = SeaTable.MainTLink
WHERE (((SSFMainTable.AD) Between [enter1] And [enter]))
GROUP BY SeaTable.location
HAVING (((SeaTable.location) Like "G/A*" Or (SeaTable.location) Like "Qiz*"));
Thanks and regards
Farid