CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
database
> The median mysql for help
The median mysql for help
Time:10-27
Now has built a table zysj, serial number, want to take out the time that a list of the median, should how to write?
CodePudding user response:
Select avg (time) from zysj
Where sn in (floor ((Max (sn) + min (sn))/2), ceil ((Max (sn) + min (sn))/2));
Page link:
https//www.codepudding.com/database/73071.html
Prev:
Help: use SQL to ACEESS to conditions of statistical data from the table set up output to establish
Next:
Old st. wave database is to use VIASUAL FOXPRO 6 compiled, but running EXE file error
Tags:
MySQL
Related
Links:
CodePudding