Home » questions » Need help with Access SQL query: Urgent?
Need help with Access SQL query: Urgent?
I have 2 tables.
Table 1 has 2 columns: From and to having some interger values
Table 2 has a column having interger values, which may or may not lie between range specified from "To" value to "From" value.
I have to make a query, to count the number of entries in table 2 which lie in the range decided by "To" - "From"
Please help.
What is wrong with this SQL query:
Update table1,table2 set table1.col1 = count(*) where ((table1.col2 > table2.col1) and (table1.col3 < table2. col1))

Answers
harrypotter
On 2006-08-09 00:33:48
weida
On 2006-08-12 05:31:28
Indian_Male
On 2006-08-09 00:16:05
gansatanswers
On 2006-08-08 23:52:34