sql - Query syntax error in MySql -



sql - Query syntax error in MySql -

here query , it's giving sql manual syntax error in mysql.

select count(case when v.created_at = vv.minva user_id) num_new_users bills v bring together (select user_id, min(created_at) minva bills t grouping user_id ) vv on v.user_id = vv.user_id

can please help me problem?

the case statement should ended end

select count(case when v.created_at = vv.minva user_id end ) num_new_users bills v bring together (select user_id, min(created_at) minva bills t grouping user_id ) vv on v.user_id = vv.user_id

mysql sql

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -