Writing simple SQL scripts Used Intellij IDEA and PostgreSQL.
See script
The task is to create a table PERSONS
with attributes name
, surname
, age
, phone_number
, city_of_living
and set the firs three one as primary key.
See script
Task: find persons who live in MOSCOW and show their name and surname.
See script
Task: find persons who are older when 27 and order the info by desc.