Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I Have Two tables
first Table:AddBook
Entries Are: Col1(int primary Key Autoincrement),col2,col3,col4
Second Table:Book_qty
Entries Are:col1(foregn key),qty,Adddate
i want to join this table and after that want to search record using "Adddate" column
using Between Clause
Please Help Me
Thank in Advance
Posted

1 solution

SQL
select * from addbook ab
inner join book_qty bq on ab.col1=bq.col1
where adddate between '2012-12-12' and '2013-01-15'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900