Skip to content
DbaFix
Just share answer and question for fixing database problem
MENU
  • HOME

Tag: minus

How to select students that failed at least at all courses that student with id = 1 failed?

By adminPosted on February 3, 2023

Question : I have the following tables: STUDENT (student_id, first_name, last_name, birth_date, year , domain) PROFESSOR (professor_id, first_name, last_name, birth_date, […]

ORA-00907: missing right parenthesis on query with subqueries and EXCEPT operator

By adminPosted on January 4, 2022

Question : I am getting ORA-00907: missing right parenthesis for the following query: SELECT PEOPLE.NAME FROM CLIENTS K INNER JOIN […]

How to select students that failed at least at all courses that student with id = 1 failed?

By adminPosted on March 21, 2021

Question : I have the following tables: STUDENT (student_id, first_name, last_name, birth_date, year , domain) PROFESSOR (professor_id, first_name, last_name, birth_date, […]

Select items that have never been ordered using the MINUS operator

By adminPosted on February 16, 2021

Question : I have the following two tables: ITEM (Item#, Item_Name, Unit_Price) ORDER_ITEM (Order#, Item#, Qty) Now, how do I […]

Recent Posts

  • Modelling a database for a travelling business that involves Vehicules, Routes, Subroutes and Prices
  • Hard Drive Configuration for my setup
  • Optimize delete query in SQL Server 2008 R2 SP1
  • Join query with closest date in “ON” clause
  • Postgresql vs MySQL – Which is better for join queries & writing data(inserts) [closed]
  • Subtracting an integer in my db by 1. SQL
  • MariaDB Galera Arbitrator failing to sync with SSL
  • Array exceed allowed size in Postgres
  • Mysql Server 5.6 high memory consumption
  • SQL Server 2016 Always ON high availability group listener configuration
  • Columns count in SELECT query and SQL Server buffer cache
  • Postgres sharding installation with citusdb
  • T-SQL Query to calculate Settele and withdraw amount in MSSQL- SERVER
  • Case when not return more than one value
  • Creating a constraint
  • Which of the following pieces of SQL is most efficient
  • Using Oracle hierarchical queries for transposing field value into rows
  • Updating an FTS indexed column returns “Invalid InnoDB FTS Doc ID”
  • Migrating 300 GB mysql database from one server to another cleanly with minimum downtime
  • how to join one select statement to another pivot select statement [closed]

Categories

  • Database Backup
  • Database Design
  • Database Index
  • Database Optimization
  • InnoDB
  • Join
  • MariaDB
  • MongoDB
  • MySQL
  • Oracle
  • Performance
  • Permissions
  • Postgresql
  • Query Performance
  • Replication
  • Security
  • SQL Server
Proudly powered by WordPress / Support by: DizzyCoding