dir.by  
Поиск >>

Компьютер, программы
→
PostgreSQL server (database) and pgAdmin (program for working with PostgreSQL server). Works on different platforms: Unix, Windows
 Создаем таблицу "city" (используем pgAdmin, сервер PostgreSQL) 
посмотрели 6486 раз
обновлено: 18 September 2021
Будем создавать:

таблицу city
колонка id
serial (это integer который сам будет добавлять +1)
колонка text
text
Шаг 1. Открываем pgAdmin
Если иконки pgAdmin нет на рабочем столе в Windows тогда создадим:
 
Открывается pgAdmin
 
Вводим пароль который создали при установке PostgreSQL сервера (база данных) ...
 
Откроется pgAdmin и мы увидим сервер:
Шаг 2. Создаем таблицу "city"
Шаг 3. Добавляем колонки
Шаг 4. Нажимаем на Save и увидим что таблица "city" создалась
 
← Previous topic
Open pgAdmin and write an SQL query to fetch data from the PostgreSQL server
 
Next topic →
Create the "person" table and link it to the "city" table (using pgAdmin, a PostgreSQL server)
 
Your feedback ... Comments ...
   
Your Name
Your comment (www links can only be added by a logged-in user)

Новость "Черная пятница" на технику Dreame в Беларуси с 17 по 30 ноября 2026 года – две недели скидок до 3400 рублей
 
PostgreSQL server
• What is a PostgreSQL server database?
• Download and install a PostgreSQL server (database) on Windows
pgAdmin program for working with PostgreSQL server (working on Windows)
• Download and install pgAdmin (a program for working with PostgreSQL) | Windows
• Open pgAdmin and connect to a remote PostgreSQL server
• Open pgAdmin and write an SQL query to fetch data from the PostgreSQL server
Creating tables
• Create the "city" table (using pgAdmin, PostgreSQL server)
• Create the "person" table and link it to the "city" table (using pgAdmin, a PostgreSQL server)
Adding data to tables
• Add data to the "city" table (using pgAdmin, PostgreSQL server)
• Add data to the "person" table (using pgAdmin, PostgreSQL server)
C# data retrieval application
• Create a C# console application to connect to the PostgreSQL server and write an SQL query to get the data
• Create a C# console application to connect to the PostgreSQL server and write an SQL query to get the data. We receive the data in the form of json
PostgreSQL queries
• Add auto increment when the column is already created (PostgreSQL queries)
• Changing the column type from boolean to bit(1) | PostgreSQL queries
• Changing the column type from bit(1) to boolean | PostgreSQL queries

  Ваши вопросы присылайте по почте: info@dir.by