• Learn
    • Courses
    • Career Tracks
    • Projects
    • Upcoming Courses
  • Certificates
    • Career Track Certificate
    • Course Certificate
  • Resources
    • All Resources
    • Course Notes
    • Templates
    • Infographics
    • Career Guides
    • Practice Exams
    • Blog
    • Reviews
    • Success Stories
    • Flashcards
    • Calculators
    • Interview Simulator
  • Pricing
  • Corporate Training
  • Login
  • Sign Up
Log In Sign Up
Follow this topic
Share
Niranjan S
Last answered:

21 Jun 2023

Posted on:

17 Jun 2023

0

Wrong solution obtained.. Got 3007 rows instead

in SQL / HAVING

1 answers ( 0 marked as helpful)
Tsvetelin Tsonkov
Instructor
Posted on:

21 Jun 2023

0

Hi Niranjan!
Thanks for reaching out.


You need to use the GROUP BY clause with only the emp_no column.


Hope this helps.
Best,
Tsvetelin

Submit an answer

related questions

Marcus Wern Han Leong
2
16
Why did you not do not null, primary key and auto increment for customer id in the solution?
Mohamed AbdulHalim
0
12
Resolved: Playing the text in the video does not work, although I have cc enabled, what is the solution please
Juan Pablo Cofano
2
12
Hi, i think this practice is wrong here in assignment select distinct
hazem gamal
0
10
Resolved: i always retrieve 36 rows !!
Matt Birch
1
10
No rows in employees database
Olayemi Hafeez Rufai
1
8
I GOT AN ERROR IN RUNNING CODE. I COULDN'T FIX IT
Kiran B
0
8
Resolved: Queries with LIKE('Mar%') and LIKE('Mar_') are returning the output with 1000 rows each
Oriji Sandra Onyinyechi
0
6
The solution has two select statement
Abdul Hakeem
1
6
The output shows zero rows returned when you Rollback?
Essien Alex-bennet Elijah
0
6
Solution to Question
Ahmed Hesham
0
6
does not rollback and i don't know what i have to do , i do all sug solution with no result
Yogesh Batra
1
6
Resolved: Given solution didn't work and showing error

All the Data Science Courses You Need

About

  • About Us
  • Meet the Instructors
  • Become an Instructor
  • Contact Us
  • Pricing

Learn

  • Courses
  • Career Tracks
  • Career Certificate
  • Course Certificate

Resources

  • Course Notes
  • Templates
  • Career Guides
  • Practice Exams
  • Calculators
  • Flashcards
  • Blog

Platform

  • Success stories
  • Q&A Hub
  • Help Center
  • Verify Certificate

Business

  • Corporate Training
  • Team Plan
  • Live Training

Business

  • Corporate Training
  • Team Plan
  • Live Training
© 2025 365 Data Science. All Rights Reserved.
Sitemap Terms of Use Privacy Policy Cookies