Answers for "MySQL combine multiple columns into single column"

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

Code answers related to "MySQL combine multiple columns into single column"

Browse Popular Code Answers by Language