Answers for "mysql join two columns"

2

mysql concatenate two columns into one

SELECT concat(first_column, ' ', second_column) from table_name
Posted by: Guest on February-22-2021
0

how to join more then 2 column in mysql

SELECT
  s.last_name, s.first_name,
  p.course_code, p.status, p.amount
FROM enrollment e
JOIN student s
  ON s.id=e.student_id
JOIN payment p
  ON p.course_code=e.course_code
    AND p.student_id=e.student_id;
Posted by: Guest on April-10-2021

Browse Popular Code Answers by Language