<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="et">
	<id>http://www.lambda.ee/w/index.php?action=history&amp;feed=atom&amp;title=Sql_insert-lausete_n%C3%A4ited_andmete_sisestamiseks</id>
	<title>Sql insert-lausete näited andmete sisestamiseks - Redigeerimiste ajalugu</title>
	<link rel="self" type="application/atom+xml" href="http://www.lambda.ee/w/index.php?action=history&amp;feed=atom&amp;title=Sql_insert-lausete_n%C3%A4ited_andmete_sisestamiseks"/>
	<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Sql_insert-lausete_n%C3%A4ited_andmete_sisestamiseks&amp;action=history"/>
	<updated>2026-11-07T01:59:26Z</updated>
	<subtitle>Selle lehekülje redigeerimiste ajalugu</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Sql_insert-lausete_n%C3%A4ited_andmete_sisestamiseks&amp;diff=15467&amp;oldid=prev</id>
		<title>Tammet – 14. veebruar 2019, kell 08:04</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Sql_insert-lausete_n%C3%A4ited_andmete_sisestamiseks&amp;diff=15467&amp;oldid=prev"/>
		<updated>2019-02-14T08:04:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;et&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←Vanem redaktsioon&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Redaktsioon: 14. veebruar 2019, kell 10:04&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l26&quot;&gt;26. rida:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;26. rida:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;insert into inimesed(id,nimi,palk) values (5,&amp;#039;Eve&amp;#039;,1100);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;insert into inimesed(id,nimi,palk) values (5,&amp;#039;Eve&amp;#039;,1100);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;insert into inimesed(id,nimi,sugu,palk) values (6,&amp;#039;Maie&amp;#039;,&amp;#039;n&amp;#039;,800);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;insert into inimesed(id,nimi,sugu,palk) values (6,&amp;#039;Maie&amp;#039;,&amp;#039;n&amp;#039;,800);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;insert into autod(id,mark,number,omanik) values (1,&#039;Ford&#039;,&#039;230ABX&#039;,1);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;insert into autod(id,mark,number,omanik) values (2,&#039;Opel&#039;,&#039;146ABC&#039;,1);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;insert into autod(id,mark,number,omanik) values (3,&#039;Audi&#039;,&#039;130DAA&#039;,4);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;insert into autod(id,mark,number,omanik) values (4,&#039;Mercedes&#039;,&#039;186BAU&#039;,5);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key lambdadb:diff:1.41:old-15465:rev-15467:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Tammet</name></author>
	</entry>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Sql_insert-lausete_n%C3%A4ited_andmete_sisestamiseks&amp;diff=15465&amp;oldid=prev</id>
		<title>Tammet: Uus lehekülg: &#039;sqlite andmete sisestamiseks tuleb kõigepealt defineerida tabelid, siin teeme &quot;inimesed&quot; ja &quot;autod&quot; tabelid: &lt;pre&gt; create table inimesed(    id integer primary key,     nimi var...&#039;</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Sql_insert-lausete_n%C3%A4ited_andmete_sisestamiseks&amp;diff=15465&amp;oldid=prev"/>
		<updated>2019-02-14T08:00:42Z</updated>

		<summary type="html">&lt;p&gt;Uus lehekülg: &amp;#039;sqlite andmete sisestamiseks tuleb kõigepealt defineerida tabelid, siin teeme &amp;quot;inimesed&amp;quot; ja &amp;quot;autod&amp;quot; tabelid: &amp;lt;pre&amp;gt; create table inimesed(    id integer primary key,     nimi var...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Uus lehekülg&lt;/b&gt;&lt;/p&gt;&lt;div&gt;sqlite andmete sisestamiseks tuleb kõigepealt defineerida tabelid, siin teeme &amp;quot;inimesed&amp;quot; ja &amp;quot;autod&amp;quot; tabelid:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
create table inimesed(&lt;br /&gt;
   id integer primary key, &lt;br /&gt;
   nimi varchar(100),&lt;br /&gt;
   palk integer,&lt;br /&gt;
   sugu varchar(1)&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
create table autod (&lt;br /&gt;
   id integer primary key,&lt;br /&gt;
   mark varchar(100),&lt;br /&gt;
   number varchar(10),&lt;br /&gt;
   omanik integer&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Need laused saad anda sqlite oma käsurealt või failist, mille suunad sqlite sisse lugema:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
insert into inimesed(id,nimi,sugu,palk) values (1,&amp;#039;Ants&amp;#039;,&amp;#039;m&amp;#039;,1000);&lt;br /&gt;
insert into inimesed(id,nimi,palk) values (2,&amp;#039;Jaan&amp;#039;,1200);&lt;br /&gt;
insert into inimesed(id,nimi,sugu,palk) values (3,&amp;#039;Peeter&amp;#039;,&amp;#039;m&amp;#039;,900);&lt;br /&gt;
&lt;br /&gt;
insert into inimesed(id,nimi,sugu,palk) values (4,&amp;#039;Leena&amp;#039;,&amp;#039;n&amp;#039;,1500);&lt;br /&gt;
insert into inimesed(id,nimi,palk) values (5,&amp;#039;Eve&amp;#039;,1100);&lt;br /&gt;
insert into inimesed(id,nimi,sugu,palk) values (6,&amp;#039;Maie&amp;#039;,&amp;#039;n&amp;#039;,800);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tammet</name></author>
	</entry>
</feed>