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: create a dictionary page, android development create file, microsoft marketing department, create and sell, how to create new project about webside, create lpg samagra id, florida education department,

[-]
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)

Messages In This Thread
Create a view on the Client_master table for administration department. - by smart paper boy - 09-07-2011, 10:43 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  How to create a report in Microsoft Access? smart paper boy 0 1,168 29-07-2011, 12:16 PM
Last Post: smart paper boy
  How to create a query in Microsoft Access? smart paper boy 0 1,107 29-07-2011, 12:14 PM
Last Post: smart paper boy
  How to create tables in MS ACCESS ? smart paper boy 0 1,235 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,973 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,504 19-07-2011, 04:59 PM
Last Post: smart paper boy
  Write a query for creating an Updateable view. smart paper boy 0 995 09-07-2011, 10:49 AM
Last Post: smart paper boy
  PROGRAM TO CREATE MULTITHREAD BY USING VARIOUS METHODS project topics 0 1,096 06-04-2011, 01:21 PM
Last Post: project topics

Forum Jump: