• Study Materials
    • InfyTQ Archive
    • Infosys Archive
    • TCS Archive
    • Accenture Archive
    • AMCAT Archive
    • Capgemini Archive
    • Cisco Archive
    • CoCubes Archive
    • Cognizant(CTS) Archive
    • Deloitte Archive
    • DXC Archive
    • Goldman Sachs Archive
    • Hexaware Technologies Archive
    • LTI Archive
    • MindTree 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
  • Tutorials
    • Node.js Tutorial
    • Express.js Tutorial
    • Python Tutorial
  • Programming
    • C Programming MCQs
    • C Code Snippets – Output Questions
    • Python Code Snippets – Output Questions
    • Java Code Snippets – Output Questions
  • Aptitude
    • Verbal Ability for Placements
CODE OF GEEKS

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

    • Study Materials
      • InfyTQ Archive
      • Infosys Archive
      • TCS Archive
      • Accenture Archive
      • AMCAT Archive
      • Capgemini Archive
      • Cisco Archive
      • CoCubes Archive
      • Cognizant(CTS) Archive
      • Deloitte Archive
      • DXC Archive
      • Goldman Sachs Archive
      • Hexaware Technologies Archive
      • LTI Archive
      • MindTree 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
    • Tutorials
      • Node.js Tutorial
      • Express.js Tutorial
      • Python Tutorial
    • Programming
      • C Programming MCQs
      • C Code Snippets – Output Questions
      • Python Code Snippets – Output Questions
      • Java Code Snippets – Output Questions
    • Aptitude
      • Verbal Ability for Placements
CODE OF GEEKS
CODE OF GEEKS
  • Study Materials
    • InfyTQ Archive
    • Infosys Archive
    • TCS Archive
    • Accenture Archive
    • AMCAT Archive
    • Capgemini Archive
    • Cisco Archive
    • CoCubes Archive
    • Cognizant(CTS) Archive
    • Deloitte Archive
    • DXC Archive
    • Goldman Sachs Archive
    • Hexaware Technologies Archive
    • LTI Archive
    • MindTree 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
  • Tutorials
    • Node.js Tutorial
    • Express.js Tutorial
    • Python Tutorial
  • Programming
    • C Programming MCQs
    • C Code Snippets – Output Questions
    • Python Code Snippets – Output Questions
    • Java Code Snippets – Output Questions
  • Aptitude
    • Verbal Ability for Placements

InfyTQ Previous Year DBMS Questions

  • March 16, 2021
  • CODE OF GEEKS
  • 4

InfyTQ Previous Year DBMS Questions

You are here : Home >> InfyTQ Archive >> InfyTQ DBMS Questions

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

InfyTQ Study Materials & Previous Year Questions
  • InfyTQ 2022 Overview
  • InfyTQ Previous Year Coding Questions
  • InfyTQ Previous Year Python Questions
  • InfyTQ Previous Year Java Questions
  • InfyTQ Previous Year DBMS Questions
  • 100+ Python MCQs for InfyTQ
  • Java MCQs for InfyTQ

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
Tags: dbms for infytqdbms infosys questionsdbms infytqdbms infytq githubdbms infytq mcqsdbms infytq questionsdbms infytq solutionsdbms mcq questions for infytqdbms questions for infytqgfg dbms quizinfosys dbms questionsinfytq coding questions and answersinfytq dbms answersinfytq dbms answers githubinfytq dbms courseinfytq dbms mcq questionsinfytq dbms previous questionsinfytq dbms previous year questionsinfytq dbms questionsinfytq dbms questions and answersinfytq dbms questions and answers pdfinfytq dbms solutionsinfytq exam coding questionsinfytq hands on coding questionsinfytq previous year questions dbmsinfytq processinfytq questions on dbmsinfytq selection processis infytq toughwhat is infytq examwhen will infytq results be releasedwhy infytq is not workingwill infosys declared bonus
  • Previous Python Output Questions with Explanation
  • Next Hack with Infy 2021 – Eligibility, Registrations, Exam Pattern, Insights

4 comments on “InfyTQ Previous Year DBMS Questions”

  1. 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…,

    Reply
  2. Ankit Pandey says:
    January 5, 2022 at 1:15 pm

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

    Reply
  3. saimohan says:
    January 22, 2022 at 11:19 am

    2:
    Answer: d

    Reply
  4. Pramit says:
    January 24, 2022 at 6:51 am

    1: Option D

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learning Python

python tutorials

InfyTQ Previous Year Questions 2023

  • InfyTQ 2023 Overview
  • InfyTQ Previous Year Coding Questions
  • InfyTQ Previous Year Python Questions
  • InfyTQ Previous Year Java Questions
  • InfyTQ Previous Year DBMS Questions
  • 100+ Python MCQs for InfyTQ
  • Java MCQs for InfyTQ

Study Materials : Company Wise

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
Refund Policy
Contact us

Placements – Study Materials

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

Tutorials

Python
Node.js
Express.js
Golang

Recent Posts

Strings in Go and its basic operations
  • August 11, 2023
Introduction to Functions in Go programming
  • August 11, 2023

Copyright @ CODE OF GEEKS. All Rights Reserved.