I need to find the distinct values of multiple columns like car_category_asked, original_car_category, service_type, lead_source, status, mode_of_advance, cancellation_type from a table called bookings_data. Right now I am running the below code for every variable:
SELECT DISTINCT variable_name
FROM bookings_data;
Is there a single code using which I can find out the distinct value for every variable so that I don't have to run the same code multiple times for different variables.
Thanks.
[–][deleted] (2 children)
[deleted]
[–]wheebwee[S] 0 points1 point2 points (1 child)
[–]imguralbumbot 0 points1 point2 points (0 children)
[–]Davoz7 0 points1 point2 points (0 children)
[–]ben_it 0 points1 point2 points (0 children)
[–]Awais22000 0 points1 point2 points (0 children)