Skip to main content
Best practices
0 votes
11 replies
93 views

I was hoping to get some help with my little project where I noticed that I would need to be using Database instead of local Json files to deal with frontend dynamic content. So I have a dropdown ...
erotski's user avatar
  • 53
Advice
0 votes
9 replies
129 views

I have heard of SQLite, MySQL and other dialects of SQL. How do they differ? Where do you use which one? Which ones are the most used? What is the purpose of this?
Filledipp's user avatar
Best practices
1 vote
5 replies
91 views

SELECT o FROM Order o WHERE o.customerEmail = :email AND o.status = :status ORDER BY paymentDate DESC So does an index on the paymentDate column help here?
J.J. Beam's user avatar
  • 3,263
Advice
1 vote
11 replies
6k views

In Codd's A Relational Model of Data for Large Shared Data Banks the following paragraph seems to be one of his justifications for the relational model: A lack of understanding of relational ...
red_trumpet's user avatar
2 votes
2 answers
124 views

Why do I get this circular dependency error in NestJS TypeORM Relations with Entity Decorator when setting up a OneToMany and ManyToOne relation between User and Item? cannot access User before ...
Code's user avatar
  • 23
0 votes
0 answers
158 views

I'm developing a FastAPI application, a file manager system, and I'm using PostgreSQL as the database. To define database entity models in my code, I previously used SQLAlchemy, but now I switched to ...
stam's user avatar
  • 106
0 votes
1 answer
47 views

Let's have a data structured like this: users: [{ "name": "username1", "garages": [{ "name": "my one garage even though I may have several", ...
Accordeon's user avatar
0 votes
2 answers
111 views

I need 1 record per Id and to achieve it I tried with self join, case statement as well tried using COALESCE function but I am still getting multiple records for same client. Below approach is mostly ...
Abhi's user avatar
  • 13
0 votes
1 answer
206 views

From the book Fundamentals of Database Systems (7th edition) by Elmasri et al., pages 475-476: A multivalued dependency [MVD] X ↠ Y specified on relation schema R, where X and Y are both subsets of R,...
showkey's user avatar
  • 505
1 vote
1 answer
126 views

I am using PostgresSQL 15 hosted by AWS Aurora serverless v2. I have a table includes 200 millions rows and I need to update a value on a column for all those rows. This table has primary key id which ...
Joey Yi Zhao's user avatar
  • 43.4k
-1 votes
2 answers
148 views

Some relational databases only support savepoints and not nested transactions directly. So, what is the difference between both? Is one superset of other? I understand savepoints are not new ...
maran's user avatar
  • 1
-2 votes
1 answer
94 views

What does the # mean when placed before an attribute in a relational database schema? Umbrella(ID,Lido, Cost, Type) Lido(ID, Name, #Spots, Manager) Manager(FiscalCode, Name, Surname) Client(#Card, ...
Rbn's user avatar
  • 21
2 votes
1 answer
54 views

I want to format plain query to hierarchy json to display on front-end but I don't know how I may have relational database that has Table called "Todo" which has following column ID Name ...
paipai's user avatar
  • 29
1 vote
2 answers
139 views

For example, I want to search for all rows that starts with \x00\xff\xaa in a binary data column. I am writing this pseudo-code in C# Entity Framework: IEnumerable<KeyValue> ...
2474101468's user avatar
2 votes
1 answer
88 views

I have 2 tables as below and I have a relational table. I want to access the details of an order. Which products were selected in the order and what is the quantity of the products. What should I ...
ihsan arslan's user avatar

15 30 50 per page
1
2 3 4 5
454