mysql를 활용한 구구단 예제나 알려주실분 ㅠ
SELECT CONCAT(row, ' x 1 = ' , row.row * 1) as '1단', CONCAT(row, ' x 2 = ' , row.row * 2) as '2단', CONCAT(row, ' x 3 = ' , row.row * 3) as '3단', CONCAT(row, ' x 4 = ' , row.row * 4) as '4단', CONCAT(row, ' x 5 = ' , row.row * 5) as '5단', CONCAT(row, ' x 6 = ' , row.row * 6) as '6단', CONCAT(row, ' x 7 = ' , row.row * 7) as '7단', CONCAT(row, ' x 8 = ' , row.row * 8) as '8단', CONCAT(row, ' x 9 = ' , row.row * 9) as '9단' FROM ( SELECT 1 as 'row' UNION SELECT 2 UNION SELECT 3 UNION SELECT 4 UNION SELECT 5 UNION SELECT 6 UNION SELECT 7 UNION SELECT 8 UNION SELECT 9 ) as row