---
title: "DB2 SQL Quiz for Mainframe Programmers"
description: "SQL quiz with multiple choice questions for DB2 mainframe programmers"
url: https://srinimf.com/2015/07/02/db2-sql-quiz-for-mainframe-programmers/
date: 2015-07-02
modified: 2019-08-20
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2018/04/pexels-photo-356079-e1524324152109.jpeg?fit=1138%2C1138&ssl=1
categories: ["Quiz", "SQL"]
tags: ["DB2 SQL Quiz"]
type: post
lang: en
---

# DB2 SQL Quiz for Mainframe Programmers

Check your SQL knowledge. SQL Quiz for mainframe programmers.

## Subscribe

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Email Address

Subscribe

1)SQL was first developed:

```
A)In the 1970s
B)In 1982
C)By IBM
D)By ANSI
E)NONE
```

2)A SELECT without a WHERE clause:

```
A) Always outputs results to a log file
B) Results in an error message
C) elects all columns in the source table or view
D) elects all rows in the source table or view
E) NONE
```

3)A join without a WHERE clause or JOIN clause:

```
A) Results in an outer join
B) Results in an error message
C)Returns no rows in the result set
D) Returns only the rows in the first table
E) Results in a Cartesian product
```

4)An UPDATE statement without a WHERE clause:

```
A) Updates no rows in a table
B) Updates every row in a table
C) Results in an error message
D) Updates every column in a table
E) NONE
```

5)An INSERT statement:

```
A) May contain a subquery
B) Must contain a VALUES list
C) Must contain a column list
D)May create multiple table rows
E )NONE
```

**[Check SQL Quiz Answers Here](http://srinimf.com/2015/03/12/top-mainframe-interview-questions/)**

Also Read

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2015%2F07%2F02%2Fdb2-sql-quiz-for-mainframe-programmers%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2018%2F04%2Fpexels-photo-356079-e1524324152109.jpeg%3Ffit%3D1138%252C1138%26ssl%3D1&description=DB2%20SQL%20Quiz%20for%20Mainframe%20Programmers)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2015/07/02/db2-sql-quiz-for-mainframe-programmers/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2015/07/02/db2-sql-quiz-for-mainframe-programmers/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2015/07/02/db2-sql-quiz-for-mainframe-programmers/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2015/07/02/db2-sql-quiz-for-mainframe-programmers/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20DB2%20SQL%20Quiz%20for%20Mainframe%20Programmers&body=https%3A%2F%2Fsrinimf.com%2F2015%2F07%2F02%2Fdb2-sql-quiz-for-mainframe-programmers%2F&share=email)
-

### Like this:

Like Loading…
