Click here to Skip to main content
15,905,781 members

Comments by Harshit Wadhera (Top 65 by date)

Harshit Wadhera 18-Apr-15 17:06pm View    
dude 1 thing i will tell you You will not understand how complicated it is...
i had already applied having group by and count... just understand the question then answer......
Harshit Wadhera 18-Apr-15 16:55pm View    
i had done this.. but its giving me wrong ans
Harshit Wadhera 18-Apr-15 16:54pm View    
select m.customer_id,customer_name,
cast(concat('+91-',substring(contact_no,1,3),'-',substring(contact_no,4,3),'-',
substring(contact_no,7) ) as char)as contact_no,
count(i.movie_id) as no_of_movies,movie_category
from customer_master m
join customer_issue_details i
on m.customer_id = i.customer_id
join movies_master mv
on i.movie_id = mv.movie_id
group by m.customer_id
having count(m.customer_id) >1;
Harshit Wadhera 16-Apr-15 8:35am View    
can you tell me query for mysql
Harshit Wadhera 16-Apr-15 8:02am View    
it's giving me error