1

I keep getting this syntax error: Syntax error: SELECT list must not be empty at [2:3]

on my SQL query: Select
FROM 'tfdalissabuck.assessment_01.experiment' WHERE experiment_cohort = 'treatment' AND minutes_listening_during_experiment > '60'

1 Answer 1

2

You need something between SELECT AND FROM, a single or multiple column names. Also I believe you are using single quotes around the table name, you should be using a tick mark, and if minutes_listening_during_experiment is an integer you can remove the quotes around it

SELECT *
FROM `tfdalissabuck.assessment_01.experiment`
WHERE experiment_cohort = 'treatment' 
AND minutes_listening_during_experiment > 60
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.