I need to query the top 5 value from tableA. Such as below and after received the ids, query the same tableA to get all the values of the id for ot ...
I need to query the top 5 value from tableA. Such as below and after received the ids, query the same tableA to get all the values of the id for ot ...
I am trying to migrate a PostreSQL database to a local MySQL server using MySQL Workbench. I have set both connections, tested them and succeded, sele ...
My query: gives an error. Is this due to version 8.1? Is it possible to use two different schemas while creating table? ...
In my Postgres database table I can find the last 20 entries of cap_cs137 by date order: I can also get the average: However, how do I combine t ...
I am trying to run a database update just like this in PostgreSQL 8.1.23. I need to do this update with about 800 ids at the same time. Any help wou ...
Im using postgres version 8.1. I want to use string to array and unnest functions. 8.1 does not support unnest so I've created it using code found via ...
I have a my production database on PostgreSQL 8.1.17 server. I want to migrate it from one Linux server to another. On another Linux server I am not ...
I want to select from an enumaration that is not in database. E.g. SELECT id FROM my_table returns values like 1, 2, 3 I want to display 1 -> 'cho ...
i have a sliding window problem. specifically, i do not know where my window should start and where it should end. i do know the size of my interval/w ...
So, I think this should be fairly simple, but the documentation makes it seem somewhat more complicated. I've written an SQL function in PostgreSQL (8 ...
I have the following query: Running it in PostgreSQL 8.1.23 i get this error: Query failed: ERROR: column "global_stock" does not exist Anybody c ...
We have a Postgresql database that is over 732 GB when backed as a file system backup. When we do a pg_dump we can get it down to 585 GB. If I combine ...
I have three tables that control products, colors and sizes. Products can have or not colors and sizes. Colors can or not have sizes. The unique_id ...