Showing posts with the label
sql
Issue I have a TableA with a column Years . Each row value in this column is formatted as a mix
Issue Using postgreSQL 9.1.9, I have some SQL requests like this: INSERT INTO "my_table&quo…
Issue I'm having a hard time thinking how to provide a reproducible example, because there are …
Issue I want a random selection of rows in PostgreSQL, I tried this: select * from table where ran…
Issue I am aware of benefits of using integers (amount of space, performance, indexes) as primary k…
Issue I am trying to retrieve records based on a custom field " ci_ku ". For the same val…
Issue I have a query: SELECT date, COUNT(o.row_number)FILTER (WHERE o.row_number > 1 AND date…
Issue I have made the following table with SQL: CREATE TABLE facts ( id INTEGER PRIMA…
Issue I'm trying to restore my dump file, but it caused an error: psql:psit.sql:27485: invali…
Issue Given an array literal as a parameter, and a table expression as (pseudo-code-like): SELECT …
Issue I have this array: cars = ["green", "blue", "red", "yello…
Issue I am using postgres. I want to delete Duplicate rows. The condition is that , 1 copy from the…
Issue I have a query that is taking transactions (buying and selling of items) to calculate the gai…
Issue I Have a table that looks like this: Table1 : Time_stamp bigint, << Notice this is bi…
Issue I want to extract colums that different in fruit colum but have a same value in fruit_id colu…
Issue I have an age on the format 57 years 5 months 7 days , and I want to deduct the date of birth…
Issue I have a table below: id int user_id int created_at datetime status varchar type varchar an…
Issue I am trying to run a simple query using R which is listed below. I am connected to odbc and i…
Issue ID type center;">date Odertime 1 A 2022-03-02 2021-06-23 2 A 2022…
Issue I have a database with information of when users have logged into my app. There are two colum…