Create a view on the Client_master table for administration department.
#1

PROGRAM CODE:

CREATE VIEW vw_clientadmin AS
SELECT name, address1, address2,city, pincode, state
FROM client_master;


CREATE VIEW vw_clientadmina as
SELECT name, address1 add1, address2 add2,city, pincode, state
FROM client_master;


SELECT name, address1, address2,city, pincode, state
FROM vw_clientadmin
where city in ('Bombay', 'Delhi');

OUTPUT:

CREATE VIEW succeeded.
CREATE VIEW succeeded.

NAME ADDRESS1 ADDRESS2 CITY PINCODE STATE
--------- ---------------- --------- --------- ----------- ---------
Ivan bayross Bombay 400054 Maharastra
Basu navindgi Bombay 400056 maharastra
Ravi sreedharan Delhi 100001 Delhi
Rukmini Bombay 400050 Maharastra

4 rows selected
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: 5s in maintenance department, how to create a seminar workbook, department, us department of education jobs in, xcode create dictionary, consular department, create xml file by php,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  How to create a report in Microsoft Access? smart paper boy 0 1,152 29-07-2011, 12:16 PM
Last Post: smart paper boy
  How to create a query in Microsoft Access? smart paper boy 0 1,099 29-07-2011, 12:14 PM
Last Post: smart paper boy
  How to create tables in MS ACCESS ? smart paper boy 0 1,222 29-07-2011, 12:14 PM
Last Post: smart paper boy
  To create a Java Bean to draw various graphical shapes and display it using smart paper boy 0 1,926 21-07-2011, 09:40 AM
Last Post: smart paper boy
  To create a distributed application to download various files from various servers us smart paper boy 0 2,488 19-07-2011, 04:59 PM
Last Post: smart paper boy
  Write a query for creating an Updateable view. smart paper boy 0 986 09-07-2011, 10:49 AM
Last Post: smart paper boy
  PROGRAM TO CREATE MULTITHREAD BY USING VARIOUS METHODS project topics 0 1,080 06-04-2011, 01:21 PM
Last Post: project topics

Forum Jump: