⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 查询sql视图的切换.htm

📁 非常不错的介绍Access2000的资料
💻 HTM
字号:
<html>
<head>
<title>洪恩在线 - Access 2000</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/pc/pc.css">
<link rel="stylesheet" href="/pc/pc.css">
<meta name="keywords" content="电脑,教育,教程,办公软件,microsoft,Office,office,Access,Access 2000,数据库">
</head>

<body bgcolor="white" text="black" topmargin="10" leftmargin="0" marginwidth="0" marginheight="10">
<!--顶部开始--> 
<script language="Javascript" src="/pub/js/head.js"></script>
<!--顶部结束--> 
<table width="760" height="20" border=0 cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td height=20 class="p1" bgcolor="#E8E8E8" align="left"><font color="#000000"><font color="#FF9966">当前位置</font>:<a href="/default.htm">在线教程</a> -&gt; Access 2000</font></td>
  </tr>
</table>
<table width="760" border=0 cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td height="15"></td>
  </tr>
</table>
<table width="760" cellspacing="0" border=0 cellpadding="0" align="center">
  <tr> 
    <td width="145" valign="top" bgcolor="#E8E8E8" align="left" style="color:blue" class="p1" height="123"> 
     <br>      <table width="145" border="0" cellspacing="0" cellpadding="0" bordercolor="#F8AC0E" align="center" height="20">        <tr bgcolor="000099" valign="middle">           <td width="109" align="center" class="p2"><font color="#FFFFFF"><b>Access             2000</b></font><font color="#FF3333" ><b></b></font></td>          <td height="20" bgcolor="#E8E8E8" width="13"> </td>          <td height="20" bgcolor="#E8E8E8" width="23"> </td>        </tr>      </table>
      <p class="p1" style="line-height:17pt" align="left"> <span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"> 
        <a href="ac2k0101.htm">初识Access 2000<br>
        </a></font><font color="#0000CC"> </font></span><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"> 
        <a href="ac2k0201.htm">窗口接口使用简介<br>
        </a></font></span><font color="#0000CC"><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font> 
        <a href="ac2k0301.htm">用向导建立数据库</a></span></font><font color="#0000CC"><span class="p1"><a href="ac2k0301.htm"> 
        <br>
        </a><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font> 
        <a href="ac2k0401.htm">数据库的结构</a> <span class="p1"><a href="ac2k0403.htm"> 
        </a></span> <br>
        <font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font> 
        <a href="ac2k0501.htm">用表向导建立表</a></span></font> <font color="#0000CC"><span class="p1"><a href="ac2k0501.htm"> 
        <br>
        </a><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font> 
        <a href="ac2k0601.htm">在表中输入数据</a> <a href="ac2k0601.htm"><br>
        </a><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font> 
        <a href="ac2k0701.htm">数据的类型和属性</a><span class="p1"> </span><br>
        </span></font><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font> 
        <a href="ac2k0801.htm">定义表之间的关系</a></span><span class="p1"><br>
        <font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font> 
        <a href="ac2k0901.htm">建立简单的查询</a></span><span class="p1"> <br>
        <font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font> 
        <a href="ac2k1001.htm">为查询制定规则</a><br>
        <font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font> 
        <a href="ac2k1101.htm">如何建立数据窗体<br>
        </a><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font> 
        <a href="ac2k1201.htm">生成数据打印报表</a></span><span class="p1"><br>
        <font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font> 
        <a href="ac2k1301.htm">为WEB页提供数据</a></span><span class="p1"> <br>
        <font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span> 
        <span class="p1"><a href="ac2k1401.htm">用图表显示数据</a></span> <br>
        <span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span> 
        <span class="p1"><a href="ac2k1501.htm">宏的使用</a></span> <br>
        <span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span> 
        <span class="p1"><a href="ac2k1601.htm">模块与“VBA”语言</a></span><a href="ac2k1601.htm"><span class="p1"> 
        </span></a><br>
        <span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span> 
        <span class="p1">SQL语言妙用</span></p>
      <p style="line-height:17pt" align="left">   查询中SQL视图的切换<br>
          <a href="ac2k1702.htm">基本的SQL语句</a><br>
          <a href="ac2k1703.htm">使用SQL语句联接表</a><br>
          <a href="ac2k1704.htm">补充内容</a><br>
        <br>
        <span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span> 
        <a href="ac2k1801.htm"><span class="p1">外部数据的使用</span><br>
        </a><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span> 
        <a href="ac2k1901.htm"><span class="p1">数据的优化和安全</span><br>
        </a><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span> 
        <a href="ac2k2001.htm"><span class="p1">容易忽略的工作</span></a></p>
      <p style="line-height:17pt" align="left"> </p>
      <p align="center" class=p1><a href=/pc/bin/msg.pl?file_id=k_ac2k_17 target="_blank"><br>
        </a>
        <script language="javascript">
speak_num="za"
      </script>
        <script language="javascript" src=/pc/var/pc_k_ac2k_17.js>
      </script>
        <script language="javascript">
var num=0
if (!isNaN(speak_num)){
	num=speak_num;
}
else{
	num=0
}
document.writeln ("已有")
document.writeln (num)
document.writeln ("条发言")
      </script>
      </p>
      <p class="p1" style="line-height:17pt" align="left">&nbsp; </p>
      <p class="p1" style="line-height:17pt" align="left">&nbsp; </p>
      </td>
    <td width=1 bgcolor=#0586D7 height="123"><img src="/pc/img/blank.gif" width="1" height="1"> 
    </td>
    <td width=18 background="/pc/img/line.gif">
<p> </p></td>
    <td valign="top" background="/pc/img/line.gif" width="581" height="123" class="p2"> 
      <p align="center"><font color="#ff333"><b><span class="p3"><br>
        </span><span class="p3">查询SQL视图的切换</span></b></font></p>
      <p align="center"><span style="line-height:17pt">  在使用过程中,我们经常会使用到一些查询,但这些查询用各种查询向导和设计器都无法做出来,不知道你还记不记得,在查询那一课中我们讲过SQL查询,用这种查询就可以完成比较复杂的查询工作。当时你还刚刚开始使用ACCESS,用设计视图和向导就可以建立很多有用的查询,这些足够你掌握一段时间了,而且它的功能已经基本上能满足我们的需要。而SQL语言作为一种通用的数据库操作语言,并不是ACCESS用户必须要掌握的,但在实际的工作中有时必须用到这种语言才能完成一些特殊的工作。 
        <br>
          单纯的SQL语言所包含的语句并不多,但在使用的过程中需要大量输入各种表、查询和字段的名字。这样当你建立一个涉及大量字段的查询时,就需要输入大量文字,与用查询设计视图建立查询相比,就麻烦多了。所以我在建立查询的时候也都是先在查询设计视图将基本的查询功能都实现了,最后再切换到SQL视图通过编写SQL语句完成一些特殊的查询。下面我们就介绍一些在ACCESS使用中常常会用到的一些SQL语言。</span></p>
      <p>   <span style="line-height:17pt">我们说过在建立查询的时候可以切换到SQL视图去,下面来看看是怎么切换的:</span></p>
      <p align="center"><img src="img/ac2k1701.gif" width="380" height="273" alt="“sql数据库”窗口"></p>
      <p><span style="line-height:17pt">  当你打开一个查询以后,单击“新建方法”列表的时候并没有一个“使用SQL视图创建查询”的选项,</span></p>
      <p align="center"><img src="img/ac2k1702.gif" width="351" height="204" alt="“新建查询”对话框"></p>
      <p><span style="line-height:17pt">  这也表明ACCESS并不提倡在工作中使用SQL语言,那我们就单击“在设计视图中创建查询”这一项,之后将会在屏幕上出现一个设计视图,</span></p>
      <p align="center"><img src="img/ac2k1703.gif" width="450" height="245" alt="“选择查询”窗口" border="1"></p>
      <p align="left"><span style="line-height:17pt">  现在我们要切换到SQL视图,只要将鼠标移动到工具栏最左面的“视图”选项按钮</span><img src="img/ac2k1704.gif" width="32" height="22" align="absmiddle" alt="“SQL设计视图”按钮"><span style="line-height:17pt">右边的向下按钮上,单击鼠标左键,在弹出的下拉菜单中选中“SQL 
        设计视图”项就可以将视图切换到SQL状态。</span> </p>
      <p align="center"><img src="img/ac2k1706.gif" width="420" height="229" alt="SQL视图状态" border="1"></p>
      <hr color=blue size=1>
      <p align="center"><a href="ac2k1604.htm">上一页</a>&nbsp;&nbsp;&nbsp; <a href="ac2k1702.htm">
      下一页</a>&nbsp;&nbsp;&nbsp;</p>
      <p align="center"><a href=/pc/bin/msg.pl?file_id=k_ac2k_17 target="_blank"><br>
         </a></p>
      <p> </p></td><td width=15 background="/pc/img/line.gif"><p> </p></td>
  </tr>
</table>
<script language="Javascript" src="/pub/js/foot.js"></script>
<!--底部结束-->
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -