Member Avatar

I used mysql query broweser to create database and tables. but when I run this code it doesn't show results. But there is no error

SELECT * FROM expenses
WHERE datee BETWEEN 01/01/2016 and 01/09/2016;

can anyone help me ?

You are missing quotes for one, try this:

SELECT * FROM expenses
WHERE datee BETWEEN '2016-01-01' and '2016-09-01';
Member Avatar

thank you two guys :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.