SELECT * FROM time_on_screen where id=’2′ AND where date between ‘2020-10-04’ and ‘2020-10-10’
Question posted in PhpMyAdmin
The official documentation can be found here.
The official documentation can be found here.
SELECT * FROM time_on_screen where id=’2′ AND where date between ‘2020-10-04’ and ‘2020-10-10’
2
Answers
Only one WHERE per select is allowed use and,or and bracketing for multiple conditions/filters
Syntax for
select
clause isselect
–column filter
from
–base table/base tables
where
–initial row fillter
here only one
where
clause is allowed in a singleselect
.