Category Archives: postgresql

Khóa học miễn phí PostgreSQL – Auto Increment nhận dự án làm có lương

PostgreSQL – AUTO INCREMENT PostgreSQL has the data types smallserial, serial and bigserial; these are not true types, but merely a notational convenience for creating unique identifier columns. These are similar to AUTO_INCREMENT property supported by some other databases. If you wish a serial column to have a unique constraint or be a primary key, […]

Khóa học miễn phí Date/Time Functions & Operators nhận dự án làm có lương

PostgreSQL – DATE/TIME Functions and Operators We had discussed about the Date/Time data types in the chapter . Now, let us see the Date/Time operators and Functions. The following table lists the behaviors of the basic arithmetic operators − Operator Example Result + date ”2001-09-28” + integer ”7” date ”2001-10-05” + date ”2001-09-28” + interval […]