Hey,
I have a scenario, that I am working on and kind of struck with that, any pointer will be appreciated.
Output expected:
------------------------
Customer_id, Number_of_times_tickets_are_booked, train_number
Thanks in advance.
Sonika
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @SonikaDutta
Assuming your bookings table has the informaton you have given and the cardinality from recipient is a 1:N.
The right way to do is group by train_number and do a count of your primary key.
If this is not the case,then please share the schema relationships.
Views
Replies
Total Likes
Hello @SonikaDutta
Assuming your bookings table has the informaton you have given and the cardinality from recipient is a 1:N.
The right way to do is group by train_number and do a count of your primary key.
If this is not the case,then please share the schema relationships.
Views
Replies
Total Likes
Hi @SonikaDutta,
Were you able to resolve this query or do you still need more help here? Do let us know.
Thanks!
Views
Replies
Total Likes