Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the business trip database that keeps track of the business trips of salesman in an office. Following are the tables: SALESMAN (SNO INTEGER, S_NAME

image text in transcribed

Consider the business trip database that keeps track of the business trips of salesman in an office. Following are the tables: SALESMAN (SNO INTEGER, S_NAME CHAR (30), START_YEAR YEAR) TRIP (TNO INTEGER, FROM_CITY CHAR (20), TO_CITY CHAR (20), DEPARTURE_DATE DATE, RETURN DATE) DEPT (DEPTNO VARCHAR (10), DEPT_NAME CHAR(20)) EXPENSE (EID INTEGER, AMOUNT MONEY) The relationship is as follows DEPT-SALESMAN 1 TO M SALESMAN - TRIP 1 TO M TRIP - EXPENSE 1 TO 1 a) Write a function to display names of salesman from 'Home appliances' department

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions

Question

Explain how to build high-performance service delivery teams.

Answered: 1 week ago