Challenges easy Adults Only (SQL) 50 XP
Sql Challenge

Adults Only (SQL)

A table people(name TEXT, age INTEGER) is pre-loaded. Select the name of everyone aged 18 or older, ordered by name ascending.

Example 1

Input
CREATE TABLE people (name TEXT, age INTEGER); INSERT INTO people VALUES ('Ada',20),('Bo',15),('Cy',18);
Expected Output
Ada
Cy
solution.sql
Run the examples to test your code, then Submit to run all hidden tests.
🚀

Create a free account

Sign up free to run and submit solutions, earn points, and unlock badges.

Create Free Account

Already have one? Log in