Files
hospital-server/queries/create_patient.sql
2025-11-19 14:42:56 +03:00

10 lines
145 B
SQL

insert into patients(
"full_name",
"phone"
)
values($1, $2)
returning
"id",
"full_name" as "full_name!",
"phone" as "phone!"