Home > database >  Consult with mysql great god a query command
Consult with mysql great god a query command

Time:09-19

Figure 1 is a mysql database format, I use the figure 2, the effect of the mysql command can generate 3 now want to generate the style of the figure 4, is grouped by name, mandatory extended to every group of six lines, consult, like mysql to how to write?







CodePudding user response:

Loop with a variable as the number of the record last name, if the name and the last different output is four empty lines

CodePudding user response:

reference 1st floor mt118 response:
loop with a variable as the number of the record last name, if the name and the last different output is four empty line
reasonable, can let the code?
  • Related