Hi! Could we please enable some services and cookies to improve your experience and our website?
Privacy & Cookie Policy.Hey there!
If sqltest.online has ever helped you learn SQL, practice for an interview, or just satisfy your curiosity. I'd love to hear about it.
This project is something I built and maintain on my own, completely free, because I believe SQL skills should be accessible to everyone. No subscriptions, no paywalls. Just a tool I genuinely enjoy making better.
If you've found it useful, the best thing you can do is share your honest opinion:
And if you do post, please send me the link at ✉️ rozhnev@gmail.com. I'd love to read it and say thank you personally.
❤️ Thank you for using sqltest.online. You're the reason it keeps going.
Slava Rozhnev, creator of sqltest.online
Find the flipper length to body mass rate for all penguins from table. Output result with three columns: species, sex and flipper_length_to_body_mass_rate. Order it by ascending of calculated column.
Use SQLite syntax to write your answer. Descriptions of tables are provided in the right pane.
Write your request in the field below and click the "Check it!" button.| ident | name | building |
|---|---|---|
| gen | Genetics | Chesson |
| species | island | bill_length_mm | bill_depth_mm | flipper_length_mm | body_mass_g | sex |
|---|---|---|---|---|---|---|
| Gentoo | Biscoe | 52.1 | 17 | 230 | 5550 | MALE |
| species | island | bill_length_mm | bill_depth_mm | flipper_length_mm | body_mass_g | sex |
|---|---|---|---|---|---|---|
| Gentoo | Biscoe | 52.1 | 17 | 230 | 5550 | MALE |
| ident | personal | family | dept | age |
|---|---|---|---|---|
| 7 | Abram | Chokshi | gen | 23 |
| ident | name | details |
|---|---|---|
| 1 | WY401 | {"acquired": "2023-05-01"} |
| 2 | Inphormex | {"acquired": "2021-07-15", "refurbished": "2023-10-22"} |
| 3 | AutoPlate 9000 | {"note": "needs software update"} |