Sql statement to achieve data perspective?

+------------------------+-------------------------------------------+
| book                   | name                                      |
+------------------------+-------------------------------------------+
| C-sharp             | ,,                            |
| java       | ,,,,,             |
+------------------------+-------------------------------------------+

this is a data table from which the output style of the extracted data is as follows:

+--------+------------------------+
| name   | book                   |
+--------+------------------------+
|    | java       |
|    | java       |
|    | C-sharp             |
|    | java       |
|    | java       |
|    | java       |
|    | C-sharp             |
|    | java       |
|    | C-sharp             |
+--------+------------------------+

how is it implemented?

Sql
Oct.16,2021
For
select a.book as 'book',substring_index(substring_index(a.name,',',b.help_topic_id+1),',',-1) as 'name'
from users a
join  mysql.help_topic b on b.help_topic_id < (length(a.name) - length(replace(a.name,',',''))+1);

postgres, use unnest

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3fe19-2c4e5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3fe19-2c4e5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?