WebbSolution – SQL Project Planning in SQL MySQL SELECT START_DATE, MIN(END_DATE) FROM (SELECT START_DATE FROM PROJECTS WHERE START_DATE NOT IN (SELECT END_DATE FROM PROJECTS)) A, … Webb4 apr. 2024 · Assuming that you want the customers with their amount spent below the invoice average, try this: SELECT customer_name, CAST (SUM (total_price) AS DECIMAL (20,6) AS amount FROM customer c INNER JOIN invoice i ON c.id = i.customer_id WHERE amount < (SELECT AVG (total_price) FROM i) ORDER BY amount DESC. Share. Improve …
HackerRank SQL Intermediate Certificate SQL Coding - YouTube
WebbThousands of customers across various industries trust HackerRank for tech recruiting. clear all. How Verisk uses skills-based hiring to unlock hidden potential. Read More. Prudential Scales From 0 to 100 Hires. Read more. How DoorDash Accelerated University Hiring While Transitioning to Remote Work. Read more. Webb--Solution 1 SELECT P.PRODUCT_NAME FROM PRODUCTS P LEFT OUTER JOIN SALES S ON (P.PRODUCT_ID = S.PRODUCT_ID); WHERE S.QUANTITY IS NULL --Solution 2 SELECT P.PRODUCT_NAME FROM PRODUCTS P WHERE P.PRODUCT_ID NOT IN (SELECT DISTINCT PRODUCT_ID FROM SALES); --Solution 3 mihl prep hockey showcase 2023
hackerrank-sql-solutions · GitHub Topics · GitHub
Webb6 feb. 2024 · Hacker rank SQL intermediate solution. Contribute to karunakaran186/Sql-intermediate-hackerrank-solutions development by creating an account on GitHub. Skip to content Toggle navigation Webb19 maj 2024 · Customer table column: (c_id,f_name,l_name,email, group,state, c_id is primary key) Product Table column: (p_id,c_id,p_name,p_desc, time,c_id is foreign key). I want to know how to get the result for below question: 1)display all of the products that each customer is buying. 2)Using question(1) display how many customers are from … Webb26 jan. 2024 · Query the two cities in STATION with the shortest and longest CITY names, as well as their respective lengths (i.e.: number of characters in the name). If there is more than one smallest or largest... mihl prep hockey showcase 2022