Kata SQL

SQL Basics: Simple DISTINCT

people table schema

  • id
  • name
  • age

select table schema

  • age (distinct)
select distinct(age) as age from people;

--

--

My homepage to record my thought processes for solving SQL and Algorithm questions

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store