0

I want to fetch column name using a value in that colomn in mysql

eg:- select column name from employee where id=(select id from emp where emp_name='Akash');

19th Sep 2019, 3:05 PM
Abdul Latheef
Abdul Latheef - avatar
1 Antwort
0
Use dynamic SQL statement.
19th Sep 2019, 4:53 PM
Rustem Sharipov
Rustem Sharipov - avatar