Skip to content
Advertisement

Category: Questions

Pivot table with multiple aggregate value

I am trying to pivot below table, is that possible? But if I aggregate them by Code, Value A or B will be gone because of it. From Name Code Value Kevin Code1 A Kevin Code1 B Kevin Code2 C Kevin …

Joining Multiple Tables with different structures?

I have a dataset in SQL with some tables which I need to join them. There is a main table called ‘main_table’ that consists two parameters (id and name) and one of them is the key ‘id’. main_table, …

Finding data from same table

My table is : loginid name role 12 abc analyst 12 abc clerk 142 xyz clerk 142 xyz manager 1 yash manager 1 yash ceo 2 aarav president 2 aarav ceo I want to display each login id once and if …

Advertisement