I need to run a query with an if else statement(if possible in MYSQL)
I want to: SELECT id FROM user_name_table WHERE user_name = @name;
SELECT id FROM user_name_table WHERE user_name = @name;
If the re