Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6814927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:44:48+00:00 2026-05-26T20:44:48+00:00

I need to create a view where I’ll list certain attributes. To be more

  • 0

I need to create a view where I’ll list certain attributes. To be more specific:

Table Clientemp –

  • contact

Table Cliente –

  • name,
  • address

I need to get into the Clientemp the name and address attribute from the table Cliente.
So far I have:

create view "Company Clients"
select client.name, cliente.address, clientemp.contact
from cliente, clientemp
insert into clientemp (select name, address from cliente)

Will this work? Any suggestion?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:44:48+00:00Added an answer on May 26, 2026 at 8:44 pm

    Basic VIEW DDL:

    CREATE VIEW CompanyClients AS
    SELECT {column list}
      FROM Clientemp T1
     INNER JOIN
         Cliente T2
             ON T1.{Key} = T2.{Key}
    ;
    
    1. As you have written the SELECT the join will result in a CARTESIAN PRODUCT (CROSS JOIN)
      of the tables Clientemp and Cliente. Which will yield every possible combination of records between the two tables.

    2. Proper syntax for an INSERT statement would be

      INSERT INTO {Target}
      SELECT {Column list} FROM {TableA} /* Optional Join conditions */;

    3. Depending on the Database system your VIEW definition will likely
      not allow for an INSERT statement.

    4. However, some database systems
      allow you to perform INSERTS through views if the underlying view
      targets a single table and is properly qualified with columns
      requiring a value to be present at the time of INSERT. (In
      other words all columns that do not have a DEFAULT value specified in
      the table definition.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create a view or a table valued function that returns one
I want to create list view just like this: http://dl.maximumpc.com/galleries/androidpower/Alarm_full.jpg I need to create
I am working on a contact list application I need to create 2 tables
I need to create a VIEW query... For example: Name Count ------------------------------ Kaganoff Benzion
I need to create a view that lists out taxonomy terms and then list
In my app, I create view controller objects as I need them. When a
I need to create a form with, half linear view (textboxes and dropdownlists in
I understand that we need to create MXML file to define a view. Suppose
UPDATED: I am using MySQL statement to create a view: I need to show
i need create an email list sending to many emails. what is best solution

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.