1234567891011121314151617181920212223242526 |
- USE [db]
- GO
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- ALTER VIEW [dbo].[accountview]
- AS SELECT
- dbo.[user].account,
- dbo.[user].name,
- dbo.[user].psw,
- dbo.[user].rights,
- dbo.[user].rate1,
- dbo.[user].rate2,
- dbo.[user].base,
- dbo.[user].bz,
- dbo.[user].rights2,
- dbo.[user].discount,
- dbo.[user].discount2,
- dbo.renyuan.dimission,
- dbo.renyuan.[level],
- dbo.renyuan.bm
- FROM dbo.[user]
- LEFT OUTER JOIN
- dbo.renyuan ON dbo.[user].name = dbo.renyuan.name
|