具有多个表的数据库查询

时间:2020-09-15 14:02:17

标签: sql oracle

我们的用户表

 - userid
 - username

Our_user_ext表

- userid
- user_country

Our_user_address表

- userid
- shippingaddressid
- billingaddressid

Our_user_contact_info表

- shippingaddressid - shipping address details - first name,address
- bilingaddresid - billing address details - firstname,address

我需要在单个查询中输入username,usercountry,shipping firstname,address,billing firstname,address

能帮您写一个查询吗?

1 个答案:

答案 0 :(得分:1)

在以下脚本中尝试此操作-

private void SecondMenu_Load(object sender, EventArgs e)
{
checkBox1.Checked = Properties.Settings.Default.CheckBox1;
checkBox2.Checked = Properties.Settings.Default.CheckBox2;
checkBox3.Checked = Properties.Settings.Default.CheckBox3;
checkBox4.Checked = Properties.Settings.Default.CheckBox4;
textBox1.Text = Properties.Settings.Default.TextBox1;
textBox2.Text = Properties.Settings.Default.TextBox2;
}
private void button1_Click(object sender, EventArgs e)
       {
           this.Hide();
           FirstMenu fomenu = new FirstMenu();
           Properties.Settings.Default.CheckBox1 = checkBox1.Checked;
           Properties.Settings.Default.CheckBox2 = checkBox2.Checked;
           Properties.Settings.Default.CheckBox3 = checkBox3.Checked;
           Properties.Settings.Default.CheckBox4 = checkBox4.Checked;
           Properties.Settings.Default.TextBox1 = textBox1.Text;
           Properties.Settings.Default.TextBox2 = textBox2.Text;
           Properties.Settings.Default.Save();
           fomenu.Show();
       }
相关问题