Code for combined search

R

ruds

Can any one help me by telling how to implement a code for combined
search .My problem is I want to search database using cominatio search
for eg: I want to search by user as well as date in one go .What should
I do?
Any suggestions?
 
R

Roedy Green

Can any one help me by telling how to implement a code for combined
search .My problem is I want to search database using cominatio search
for eg: I want to search by user as well as date in one go .What should
I do?
Any suggestions?

this is an SQL database? See http://mindprod.com/jgloss/sql.html
for some sample queries with a WHERE clause.

SELECT confirm, ordertimestamp
FROM orders
WHERE confirm < 2000 AND vendorid = 1234
ORDER BY confirm DESC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top