• Study Materials
    • Infosys Archive
    • Accenture Archive
    • AMCAT Archive
    • Capgemini Archive
    • Cisco Archive
    • CoCubes Archive
    • Cognizant(CTS) Archive
    • Dell Archive
    • Deloitte Archive
    • DXC Archive
    • Goldman Sachs Archive
    • Hexaware Technologies Archive
    • LTI Archive
    • MindTree Archive
    • TCS Archive
    • Virtusa Archive
    • Wipro Archive
  • Interview Preparation
    • C Interview Questions
    • Data Structures Interview Questions
    • DBMS Interview Questions
    • HR Interview Questions
    • Java Interview Questions
    • Operating System Interview Questions
    • Python Interview Questions
    • SQL Query Interview Questions
  • Programming
    • C Programming MCQs
    • C Code Snippets – Output Questions
    • Python Code Snippets – Output Questions
  • Aptitude
    • Verbal Ability for Placements
    • Quant for Placements
  • InfyTQ Mock Tests
  • Register
  • Login
CODE OF GEEKS

We at CODE OF GEEKS, aim at providing best and quality content for our users at no extra cost.

    • Study Materials
      • Infosys Archive
      • Accenture Archive
      • AMCAT Archive
      • Capgemini Archive
      • Cisco Archive
      • CoCubes Archive
      • Cognizant(CTS) Archive
      • Dell Archive
      • Deloitte Archive
      • DXC Archive
      • Goldman Sachs Archive
      • Hexaware Technologies Archive
      • LTI Archive
      • MindTree Archive
      • TCS Archive
      • Virtusa Archive
      • Wipro Archive
    • Interview Preparation
      • C Interview Questions
      • Data Structures Interview Questions
      • DBMS Interview Questions
      • HR Interview Questions
      • Java Interview Questions
      • Operating System Interview Questions
      • Python Interview Questions
      • SQL Query Interview Questions
    • Programming
      • C Programming MCQs
      • C Code Snippets – Output Questions
      • Python Code Snippets – Output Questions
    • Aptitude
      • Verbal Ability for Placements
      • Quant for Placements
    • InfyTQ Mock Tests
    • Register
    • Login
  • [email protected]
  • ..
Login / Register
Apply Now
CODE OF GEEKS
CODE OF GEEKS
  • Study Materials
    • Infosys Archive
    • Accenture Archive
    • AMCAT Archive
    • Capgemini Archive
    • Cisco Archive
    • CoCubes Archive
    • Cognizant(CTS) Archive
    • Dell Archive
    • Deloitte Archive
    • DXC Archive
    • Goldman Sachs Archive
    • Hexaware Technologies Archive
    • LTI Archive
    • MindTree Archive
    • TCS Archive
    • Virtusa Archive
    • Wipro Archive
  • Interview Preparation
    • C Interview Questions
    • Data Structures Interview Questions
    • DBMS Interview Questions
    • HR Interview Questions
    • Java Interview Questions
    • Operating System Interview Questions
    • Python Interview Questions
    • SQL Query Interview Questions
  • Programming
    • C Programming MCQs
    • C Code Snippets – Output Questions
    • Python Code Snippets – Output Questions
  • Aptitude
    • Verbal Ability for Placements
    • Quant for Placements
  • InfyTQ Mock Tests
  • Register
  • Login
0

Cart

InfyTQ Screening Test Last Year Questions – DBMS

  • March 16, 2021
  • CODE OF GEEKS
  • 1

1. Consider three tables :

Query : Select empname FROM employee e WHERE e.empid IN (Select pd.empid FROM projectdetails pd INNER JOIN project p ON p.projectid = pd.projectid WHERE teamsize>10 GROUP BY pd.empid HAVINGCOUNT(DISTINCT domain) >= (SELECT MAX(COUNT(projectid)) FROM projectdetails GROUP BY empid));

What will be the output when the above query gets executed ?

a.
Jack
Jack

b.
Jane
John

c.
John
Jack
Jane

d.
Jack

2.

Query :

SELECT SUBSTR(customerid, 2) customerid, bi.bookid
FROM bookissue bi INNER JOIN book b ON bi.bookid = b.bookid
WHERE dateofissue >= ’21-Jan-2018′ AND LENGTH(bookname) > 9;

What will be the output when the above query is executed ?

a.
CUSTOMERID BOOKID
101 B978
103 B978
106 B978
105 B234

b.
CUSTOMERID BOOKID
101 B978
103 B978
106 B978
104 B567

c.
CUSTOMERID BOOKID
101 B978
103 B978
106 B978
104 B567
105 B234

d.
CUSTOMERID BOOKID
101 B978
103 B978
106 B978

Pages: 1 2 3 4
  • Previous Practice Python Output Questions : Code Snippets with Explanation
  • Next Hack with Infy 2021 – Eligibility, Registrations, Exam Pattern, Insights

1 comment on “InfyTQ Screening Test Last Year Questions – DBMS”

  1. Jaswanth Reddy P V Jaswanth Reddy P V says:
    March 31, 2021 at 8:51 am

    can u please post answers too for the above dbms questions so that it will be useful for us…,

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

CODE OF GEEKS

Subscribe to Newsletter

CODE OF GEEKS

Learn | Code | Achieve

Reach us

[email protected]
We at CODE OF GEEKS, aim at providing quality content to our users at no cost.
CODE OF GEEKS

Important Pages

About us
Advertise
Privacy Policy
Terms and Conditions

Placements – Study Materials

TCS NQT     Wipro     CapGemini
Accenture     MindTree     CTS
DXC     Hexaware Technologies     AMCAT
CoCubes     Goldman Sachs     Dell
Cisco     Deloitte     Virtusa     LTI     Infosys   

Courses

  • Mail Us
  • Login/Register

Recent Posts

Hack with Infy 2021 – Expected Cutoff | Results | Maha Survey
  • May 9, 2021
Practice Python Output Questions : Code Snippets with Explanation
  • April 11, 2021

Copyright 2021 CODE OF GEEKS. All Rights Reserved.

  • →