PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE kexi__db (db_property Text(32), db_value CLOB);
INSERT INTO "kexi__db" VALUES('kexidb_major_ver','1');
INSERT INTO "kexi__db" VALUES('kexidb_minor_ver','2');
INSERT INTO "kexi__db" VALUES('kexiproject_major_ver','1');
INSERT INTO "kexi__db" VALUES('kexiproject_minor_ver','0');
CREATE TABLE kexi__fields (t_id UNSIGNED Integer, f_type UNSIGNED Byte, f_name Text(200), f_length Integer, f_precision Integer, f_constraints Integer, f_options Integer, f_default Text(200), f_order Integer, f_caption Text(200), f_help CLOB);
INSERT INTO "kexi__fields" VALUES(1,3,'id',0,0,119,1,NULL,1,'ID',NULL);
INSERT INTO "kexi__fields" VALUES(1,3,'age',0,0,0,1,NULL,2,'Age',NULL);
INSERT INTO "kexi__fields" VALUES(1,11,'name',200,0,0,0,NULL,3,'Name',NULL);
INSERT INTO "kexi__fields" VALUES(1,11,'surname',200,0,0,0,NULL,4,'Surname',NULL);
INSERT INTO "kexi__fields" VALUES(53,11,'a',200,0,0,200,'1',0,NULL,NULL);
INSERT INTO "kexi__fields" VALUES(53,11,'b',200,0,0,200,'2',1,NULL,NULL);
INSERT INTO "kexi__fields" VALUES(2,3,'id',0,0,119,1,NULL,0,'ID',NULL);
INSERT INTO "kexi__fields" VALUES(2,11,'model',200,0,0,0,NULL,1,'Car model',NULL);
INSERT INTO "kexi__fields" VALUES(103,4,'id',0,0,119,1,NULL,0,'Id',NULL);
INSERT INTO "kexi__fields" VALUES(103,3,'owner',0,0,0,0,NULL,1,'Owner',NULL);
INSERT INTO "kexi__fields" VALUES(103,3,'car',0,0,0,0,NULL,2,'Car',NULL);
INSERT INTO "kexi__fields" VALUES(103,3,'since',0,0,0,0,NULL,3,'Since',NULL);
CREATE TABLE kexi__objectdata (o_id UNSIGNED Integer NOT NULL, o_data CLOB, o_sub_id Text(200));
INSERT INTO "kexi__objectdata" VALUES(4,'<!DOCTYPE UI>
<UI version="3.1" stdsetdef="1">
<kfd:customHeader version="2"/>
<pixmapinproject/>
<class>QWidget</class>
<widget class="QWidget">
<property name="name">
<string>formularz1</string>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>500</width>
<height>230</height>
</rect>
</property>
<property name="paletteBackgroundColor">
<color>
<red>97</red>
<green>147</green>
<blue>207</blue>
</color>
</property>
<property name="dataSource">
<string>persons</string>
</property>
<widget class="KexiDBLabel">
<property name="name">
<string>TextLabel1</string>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>292</width>
<height>46</height>
</rect>
</property>
<property name="alignment">
<set>AlignLeading|AlignTop</set>
</property>
<property name="text">
<string>Persons</string>
</property>
<property name="font">
<font>
<family>Verdana</family>
<pointsize>20</pointsize>
<weight>50</weight>
<bold>0</bold>
<italic>0</italic>
<underline>0</underline>
<strikeout>0</strikeout>
</font>
</property>
<property name="dataSource">
<string></string>
</property>
</widget>
<widget class="KexiDBImageBox">
<property name="name">
<string>icon</string>
</property>
<property name="geometry">
<rect>
<x>380</x>
<y>10</y>
<width>90</width>
<height>70</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignTop</set>
</property>
<property name="storedPixmapId">
<number>1</number>
</property>
</widget>
<widget class="KexiDBLineEdit">
<property name="name">
<string>name</string>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>80</y>
<width>260</width>
<height>30</height>
</rect>
</property>
<property name="dataSource">
<string>name</string>
</property>
</widget>
<widget class="KexiDBLineEdit">
<property name="name">
<string>surname</string>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>120</y>
<width>260</width>
<height>30</height>
</rect>
</property>
<property name="dataSource">
<string>surname</string>
</property>
</widget>
<widget class="KexiDBLineEdit">
<property name="name">
<string>age</string>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>160</y>
<width>70</width>
<height>30</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignVCenter</set>
</property>
<property name="dataSource">
<string>age</string>
</property>
</widget>
<widget class="KexiDBLabel">
<property name="name">
<string>label3</string>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>80</y>
<width>70</width>
<height>30</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignVCenter</set>
</property>
<property name="text">
<string>Name:</string>
</property>
</widget>
<widget class="KexiDBLabel">
<property name="name">
<string>label4</string>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>120</y>
<width>70</width>
<height>30</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignVCenter</set>
</property>
<property name="text">
<string>Surname:</string>
</property>
</widget>
<widget class="KexiDBLabel">
<property name="name">
<string>label5</string>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>160</y>
<width>70</width>
<height>30</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignVCenter</set>
</property>
<property name="text">
<string>Age:</string>
</property>
</widget>
</widget>
<layoutDefaults margin="11" spacing="6"/>
<tabstops>
<tabstop>icon</tabstop>
<tabstop>name</tabstop>
<tabstop>surname</tabstop>
<tabstop>age</tabstop>
</tabstops>
</UI>
',NULL);
INSERT INTO "kexi__objectdata" VALUES(65,'<!DOCTYPE UI>
<UI version="3.1" stdsetdef="1">
<kfd:customHeader version="2"/>
<pixmapinproject/>
<class>QWidget</class>
<widget class="QWidget">
<property name="name">
<string>form1</string>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>480</width>
<height>220</height>
</rect>
</property>
<property name="paletteBackgroundColor">
<color>
<red>203</red>
<green>238</green>
<blue>185</blue>
</color>
</property>
<property name="focusPolicy">
<enum>NoFocus</enum>
</property>
<property name="dataSource">
<string>cars</string>
</property>
<widget class="KexiDBLabel">
<property name="name">
<string>TextLabel1</string>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>266</width>
<height>54</height>
</rect>
</property>
<property name="alignment">
<set>AlignLeading|AlignTop</set>
</property>
<property name="text">
<string>Cars</string>
</property>
<property name="font">
<font>
<family>Verdana</family>
<pointsize>20</pointsize>
<weight>50</weight>
<bold>0</bold>
<italic>0</italic>
<underline>0</underline>
<strikeout>0</strikeout>
</font>
</property>
<property name="dataSource">
<string>model</string>
</property>
</widget>
<widget class="KexiDBLabel">
<property name="name">
<string>TextLabel2</string>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>100</y>
<width>66</width>
<height>30</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignVCenter</set>
</property>
<property name="text">
<string>ID:</string>
</property>
</widget>
<widget class="KexiDBPushButton">
<property name="name">
<string>closeButton</string>
</property>
<property name="geometry">
<rect>
<x>320</x>
<y>100</y>
<width>120</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Close window</string>
</property>
<property name="onClickAction">
<string>form:cars</string>
</property>
<property name="onClickActionOption">
<string>close</string>
</property>
<property name="focusPolicy">
<enum>NoFocus</enum>
</property>
</widget>
<widget class="KexiDBPushButton">
<property name="name">
<string>saveButton</string>
</property>
<property name="geometry">
<rect>
<x>320</x>
<y>150</y>
<width>120</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Save changes</string>
</property>
<property name="onClickAction">
<string>currentForm:data_save_row</string>
</property>
<property name="focusPolicy">
<enum>NoFocus</enum>
</property>
</widget>
<widget class="KexiDBLabel">
<property name="name">
<string>TextLabel4</string>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>140</y>
<width>66</width>
<height>34</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignVCenter</set>
</property>
<property name="text">
<string>Model:</string>
</property>
</widget>
<widget class="KexiDBImageBox">
<property name="name">
<string>icon</string>
</property>
<property name="geometry">
<rect>
<x>340</x>
<y>20</y>
<width>100</width>
<height>70</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignTop</set>
</property>
<property name="storedPixmapId">
<number>3</number>
</property>
</widget>
<widget class="KexiDBLineEdit">
<property name="name">
<string>idEdit</string>
</property>
<property name="geometry">
<rect>
<x>90</x>
<y>100</y>
<width>200</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>id</string>
</property>
<property name="focusPolicy">
<enum>WheelFocus</enum>
</property>
<property name="dataSource">
<string>id</string>
</property>
</widget>
<widget class="KexiDBLineEdit">
<property name="name">
<string>modelEdit</string>
</property>
<property name="geometry">
<rect>
<x>90</x>
<y>140</y>
<width>200</width>
<height>31</height>
</rect>
</property>
<property name="focusPolicy">
<enum>WheelFocus</enum>
</property>
<property name="dataSource">
<string>model</string>
</property>
</widget>
</widget>
<layoutDefaults margin="11" spacing="6"/>
<tabstops>
<tabstop>icon</tabstop>
<tabstop>idEdit</tabstop>
<tabstop>modelEdit</tabstop>
<tabstop>closeButton</tabstop>
<tabstop>saveButton</tabstop>
</tabstops>
</UI>
',NULL);
INSERT INTO "kexi__objectdata" VALUES(104,'SELECT persons.name, persons.surname, persons.age, cars.model, ownership.since FROM ownership, persons, cars WHERE persons.id = ownership.owner AND cars.id = ownership.car ORDER BY persons.surname, ownership.since','sql');
INSERT INTO "kexi__objectdata" VALUES(104,'<query_layout><table name="ownership" x="319" y="15" width="264" height="222"/><table name="persons" x="615" y="20" width="264" height="222"/><table name="cars" x="9" y="8" width="264" height="222"/><conn mtable="persons" mfield="id" dtable="ownership" dfield="owner"/><conn mtable="cars" mfield="id" dtable="ownership" dfield="car"/></query_layout>','query_layout');
INSERT INTO "kexi__objectdata" VALUES(103,'<!DOCTYPE EXTENDED_TABLE_SCHEMA>
<EXTENDED_TABLE_SCHEMA version="1" >
 <field name="owner" >
  <lookup-column>
   <row-source>
    <type>table</type>
    <name>persons</name>
   </row-source>
   <bound-column>
    <number>0</number>
   </bound-column>
   <visible-column>
    <number>3</number>
   </visible-column>
  </lookup-column>
 </field>
 <field name="car" >
  <lookup-column>
   <row-source>
    <type>table</type>
    <name>cars</name>
   </row-source>
   <bound-column>
    <number>0</number>
   </bound-column>
   <visible-column>
    <number>1</number>
   </visible-column>
  </lookup-column>
 </field>
</EXTENDED_TABLE_SCHEMA>
','extended_schema');
INSERT INTO "kexi__objectdata" VALUES(105,'<!DOCTYPE UI>
<UI version="3.1" stdsetdef="1">
<kfd:customHeader version="2"/>
<pixmapinproject/>
<class>QWidget</class>
<widget class="QWidget">
<property name="name">
<string>form1</string>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>514</width>
<height>611</height>
</rect>
</property>
<property name="paletteBackgroundColor">
<color>
<red>154</red>
<green>168</green>
<blue>198</blue>
</color>
</property>
<property name="dataSource">
<string>ownership</string>
</property>
<widget class="KexiDBComboBox">
<property name="name">
<string>comboBox</string>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>120</y>
<width>221</width>
<height>26</height>
</rect>
</property>
<property name="dataSource">
<string>owner</string>
</property>
</widget>
<widget class="KexiDBComboBox">
<property name="name">
<string>comboBox2</string>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>160</y>
<width>221</width>
<height>26</height>
</rect>
</property>
<property name="dataSource">
<string>car</string>
</property>
</widget>
<widget class="KexiDBLabel">
<property name="name">
<string>label</string>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>120</y>
<width>70</width>
<height>30</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignVCenter</set>
</property>
<property name="text">
<string>Owner:</string>
</property>
</widget>
<widget class="KexiDBLabel">
<property name="name">
<string>label2</string>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>160</y>
<width>70</width>
<height>30</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignVCenter</set>
</property>
<property name="text">
<string>Car:</string>
</property>
</widget>
<widget class="KexiDBLabel">
<property name="name">
<string>label3</string>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>80</y>
<width>70</width>
<height>30</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignVCenter</set>
</property>
<property name="text">
<string>Since:</string>
</property>
</widget>
<widget class="KexiDBLineEdit">
<property name="name">
<string>textBox</string>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>80</y>
<width>92</width>
<height>26</height>
</rect>
</property>
<property name="dataSource">
<string>since</string>
</property>
</widget>
<widget class="KexiDBLabel">
<property name="name">
<string>TextLabel1</string>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>306</width>
<height>54</height>
</rect>
</property>
<property name="alignment">
<set>AlignLeading|AlignTop</set>
</property>
<property name="dataSource">
<string></string>
</property>
<property name="text">
<string>Ownership</string>
</property>
<property name="font">
<font>
<family>Verdana</family>
<pointsize>20</pointsize>
<weight>50</weight>
<bold>0</bold>
<italic>0</italic>
<underline>0</underline>
<strikeout>0</strikeout>
</font>
</property>
</widget>
<widget class="KexiDBImageBox">
<property name="name">
<string>image</string>
</property>
<property name="geometry">
<rect>
<x>350</x>
<y>20</y>
<width>145</width>
<height>119</height>
</rect>
</property>
<property name="alignment">
<set>AlignTrailing|AlignTop</set>
</property>
<property name="storedPixmapId">
<number>2</number>
</property>
<property name="keepAspectRatio">
<bool>true</bool>
</property>
</widget>
</widget>
<layoutDefaults margin="11" spacing="6"/>
<tabstops>
<tabstop>image</tabstop>
<tabstop>textBox</tabstop>
<tabstop>comboBox</tabstop>
<tabstop>comboBox2</tabstop>
</tabstops>
</UI>
',NULL);
INSERT INTO "kexi__objectdata" VALUES(106,'<!DOCTYPE macros>
<macro xmlversion="1" >
  <item action="open" >
    <variable name="name" >cars</variable>
    <variable name="object" >form</variable>
  </item>
  <item action="navigate" >
    <variable name="record" >last</variable>
  </item>
</macro>
',NULL);
INSERT INTO "kexi__objectdata" VALUES(107,'SELECT name, surname, age FROM persons WHERE persons.age > [Enter minimum person''s age] ORDER BY age','sql');
INSERT INTO "kexi__objectdata" VALUES(107,NULL,'query_layout');
INSERT INTO "kexi__objectdata" VALUES(110,'<!DOCTYPE kexireport>
<kexireport>
 <report:content xmlns:report="http://kexi-project.org/report/2.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
  <report:title>Report</report:title>
  <report:script report:script-interpreter="javascript"></report:script>
  <report:grid report:grid-divisions="4" report:grid-snap="1" report:grid-visible="1" report:page-unit="cm"/>
  <report:page-style report:print-orientation="portrait" fo:margin-right="28.346505829687491pt" report:page-size="A4" fo:margin-top="28.346505829687491pt" fo:margin-left="28.346505829687491pt" fo:margin-bottom="28.346505829687491pt">predefined</report:page-style>
  <report:body>
   <report:section fo:background-color="#ffffff" report:section-type="header-page-any" svg:height="92.126145876178711pt">
    <report:line svg:y2="85.039518379687138pt" svg:x1="0.000000000000000pt" svg:x2="538.583616404685813pt" report:name="line6" report:z-index="0" svg:y1="85.039519181249347pt">
     <report:line-style report:line-style="solid" report:line-color="#000000" report:line-weight="1"/>
    </report:line>
    <report:label svg:width="55.859411235962881pt" report:vertical-align="top" svg:x="481.890597270684339pt" svg:y="63.779639051993712pt" report:horizontal-align="left" report:name="label7" report:caption="Owner since" report:z-index="0" svg:height="17.007907042748343pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-weight="bold" fo:font-size="10" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:label svg:width="113.386025812617220pt" report:vertical-align="top" svg:x="361.417954627964150pt" svg:y="63.779639051993712pt" report:horizontal-align="left" report:name="label6" report:caption="Car model&#xa;" report:z-index="0" svg:height="17.007904281600400pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-weight="bold" fo:font-size="10" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:label svg:width="35.433134068441127pt" report:vertical-align="top" svg:x="318.898195259968531pt" svg:y="63.779639051993712pt" report:horizontal-align="left" report:name="label5" report:caption="Age" report:z-index="0" svg:height="17.007904103461833pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-weight="bold" fo:font-size="10" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:label svg:width="162.992416885545339pt" report:vertical-align="top" svg:x="148.819157787985318pt" svg:y="63.779639051993712pt" report:horizontal-align="left" report:name="label4" report:caption="Surname" report:z-index="0" svg:height="17.007904103461833pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-weight="bold" fo:font-size="10" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:label svg:width="141.732535605760205pt" report:vertical-align="top" svg:x="0.000000000000000pt" svg:y="63.779639051993712pt" report:horizontal-align="left" report:name="label3" report:caption="Name&#xa;" report:z-index="0" svg:height="17.007904156903383pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-weight="bold" fo:font-size="10" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:label svg:width="538.583682969140341pt" report:vertical-align="top" svg:x="0.000000000000000pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="label2" report:caption="Persons &amp; Cars&#xa;" report:z-index="0" svg:height="49.606386344969096pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="32" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
   </report:section>
   <report:detail>
    <report:section fo:background-color="#ffffff" report:section-type="detail" svg:height="21.259879839845279pt">
     <report:field report:word-wrap="0" report:value="" svg:width="55.859418705556280pt" report:vertical-align="center" report:can-grow="0" svg:x="481.890608189445572pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="field11" report:item-data-source="since" report:z-index="0" svg:height="14.173253508619686pt">
      <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="10" fo:letter-spacing="0%"/>
      <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
     </report:field>
     <report:field report:word-wrap="0" report:value="" svg:width="113.386025575099126pt" report:vertical-align="center" report:can-grow="0" svg:x="361.417956142084051pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="field10" report:item-data-source="model" report:z-index="0" svg:height="14.173254280548935pt">
      <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="10" fo:letter-spacing="0%"/>
      <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
     </report:field>
     <report:field report:word-wrap="0" report:value="" svg:width="35.433133697324813pt" report:vertical-align="center" report:can-grow="0" svg:x="318.898202607903556pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="field9" report:item-data-source="age" report:z-index="0" svg:height="14.173254132100123pt">
      <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="10" fo:letter-spacing="0%"/>
      <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
     </report:field>
     <report:field report:word-wrap="0" report:value="" svg:width="162.992415007693978pt" report:vertical-align="center" report:can-grow="0" svg:x="148.819161217021616pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="field8" report:item-data-source="surname" report:z-index="0" svg:height="14.173255097017455pt">
      <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="10" fo:letter-spacing="0%"/>
      <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
     </report:field>
     <report:field report:word-wrap="0" report:value="" svg:width="141.732534908061524pt" report:vertical-align="center" report:can-grow="0" svg:x="0.000000000000000pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="field1" report:item-data-source="name" report:z-index="0" svg:height="14.173253746134368pt">
      <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="10" fo:letter-spacing="0%"/>
      <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
     </report:field>
    </report:section>
   </report:detail>
  </report:body>
 </report:content>
 <connection type="internal" class="org.kexi-project.query" source="persons_and_cars"/>
</kexireport>
','layout');
INSERT INTO "kexi__objectdata" VALUES(111,'<!DOCTYPE kexireport>
<kexireport>
 <report:content xmlns:report="http://kexi-project.org/report/2.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
  <report:title>Report</report:title>
  <report:script report:script-interpreter="javascript"></report:script>
  <report:grid report:grid-divisions="4" report:grid-snap="1" report:grid-visible="1" report:page-unit="cm"/>
  <report:page-style report:print-orientation="portrait" fo:margin-right="28.346505829687491pt" report:page-size="A4" fo:margin-top="28.346505829687491pt" fo:margin-left="28.346505829687491pt" fo:margin-bottom="28.346505829687491pt">predefined</report:page-style>
  <report:body>
   <report:section fo:background-color="#ffffff" report:section-type="header-page-any" svg:height="92.126146165631766pt">
    <report:label svg:width="538.583686353643998pt" report:vertical-align="top" svg:x="0.000000000000000pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="label2" report:caption="Cars&#xa;" report:z-index="0" svg:height="49.606386656699641pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="32" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:label svg:width="28.346505859379526pt" report:vertical-align="top" svg:x="0.000000000000000pt" svg:y="63.779638116801969pt" report:horizontal-align="left" report:name="label3" report:caption="#" report:z-index="0" svg:height="17.007904424107139pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-weight="bold" fo:font-size="10" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:label svg:width="492.311668943977452pt" report:vertical-align="top" svg:x="35.433132287112194pt" svg:y="63.779638116801969pt" report:horizontal-align="left" report:name="label4" report:caption="Model" report:z-index="0" svg:height="17.007904602245731pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-weight="bold" fo:font-size="10" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:line svg:y2="85.039518646874541pt" svg:x1="0.000000000000000pt" svg:x2="538.583618096872897pt" report:name="line0" report:z-index="0" svg:y1="85.039519448436749pt">
     <report:line-style report:line-style="solid" report:line-color="#000000" report:line-weight="1"/>
    </report:line>
   </report:section>
   <report:detail>
    <report:section fo:background-color="#ffffff" report:section-type="detail" svg:height="21.259879906642130pt">
     <report:field report:word-wrap="0" report:value="" svg:width="28.346505829689765pt" report:vertical-align="center" report:can-grow="0" svg:x="0.000000000000000pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="field1" report:item-data-source="id" report:z-index="0" svg:height="14.173253835200253pt">
      <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="10" fo:letter-spacing="0%"/>
      <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
     </report:field>
     <report:field report:word-wrap="0" report:value="" svg:width="489.810838841154009pt" report:vertical-align="center" report:can-grow="0" svg:x="35.433132287112194pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="field8" report:item-data-source="model" report:z-index="0" svg:height="14.173255482980993pt">
      <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="10" fo:letter-spacing="0%"/>
      <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
     </report:field>
    </report:section>
   </report:detail>
  </report:body>
 </report:content>
 <connection type="internal" class="org.kexi-project.table" source="cars"/>
</kexireport>
','layout');
INSERT INTO "kexi__objectdata" VALUES(112,'<!DOCTYPE kexireport>
<kexireport>
 <report:content xmlns:report="http://kexi-project.org/report/2.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
  <report:title>Report</report:title>
  <report:script report:script-interpreter="javascript"></report:script>
  <report:grid report:grid-divisions="4" report:grid-snap="1" report:grid-visible="1" report:page-unit="cm"/>
  <report:page-style report:print-orientation="portrait" fo:margin-right="28.346505829687491pt" report:page-size="A4" fo:margin-top="28.346505829687491pt" fo:margin-left="28.346505829687491pt" fo:margin-bottom="28.346505829687491pt">predefined</report:page-style>
  <report:body>
   <report:section fo:background-color="#ffffff" report:section-type="header-page-any" svg:height="92.126147130475275pt">
    <report:label svg:width="538.583697635323801pt" report:vertical-align="top" svg:x="0.000000000000000pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="label2" report:caption="Persons" report:z-index="0" svg:height="49.606387695801459pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="32" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:label svg:width="28.346506453152038pt" report:vertical-align="top" svg:x="0.000000000000000pt" svg:y="63.779639452790200pt" report:horizontal-align="left" report:name="label3" report:caption="#" report:z-index="0" svg:height="17.007904780370644pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-weight="bold" fo:font-size="10" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:label svg:width="134.645905370430285pt" report:vertical-align="top" svg:x="35.433132955106288pt" svg:y="63.779639319191375pt" report:horizontal-align="left" report:name="label4" report:caption="Name" report:z-index="0" svg:height="17.007905190089406pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-weight="bold" fo:font-size="10" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:line svg:y2="85.039519537499217pt" svg:x1="0.000000000000000pt" svg:x2="538.583623737496396pt" report:name="line2" report:z-index="0" svg:y1="85.039520339061426pt">
     <report:line-style report:line-style="solid" report:line-color="#808080" report:line-weight="1"/>
    </report:line>
    <report:label svg:width="162.992411764205002pt" report:vertical-align="top" svg:x="177.165664775531638pt" svg:y="63.779639319191375pt" report:horizontal-align="left" report:name="label6" report:caption="Surname" report:z-index="0" svg:height="17.007905920456210pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-weight="bold" fo:font-size="10" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
    <report:label svg:width="42.519759590662197pt" report:vertical-align="top" svg:x="347.244702960041479pt" svg:y="63.779639319191375pt" report:horizontal-align="left" report:name="label7" report:caption="Age" report:z-index="0" svg:height="17.007906347988826pt">
     <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-weight="bold" fo:font-size="10" fo:letter-spacing="0%"/>
     <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
    </report:label>
   </report:section>
   <report:detail>
    <report:section fo:background-color="#ffffff" report:section-type="detail" svg:height="21.259879505861022pt">
     <report:line svg:y2="17.007903586874971pt" svg:x1="0.000000000000000pt" svg:x2="538.583624301558757pt" report:name="line6" report:z-index="0" svg:y1="17.007903586874971pt">
      <report:line-style report:line-style="solid" report:line-color="#808080" report:line-weight="0.5"/>
     </report:line>
     <report:field report:word-wrap="0" report:value="" svg:width="28.346506423462266pt" report:vertical-align="center" report:can-grow="0" svg:x="0.000000000000000pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="field1" report:item-data-source="id" report:z-index="0" svg:height="14.173254132086521pt">
      <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="10" fo:letter-spacing="0%"/>
      <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
     </report:field>
     <report:field report:word-wrap="0" report:value="" svg:width="134.645905652482980pt" report:vertical-align="center" report:can-grow="0" svg:x="35.433132287112194pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="field8" report:item-data-source="name" report:z-index="0" svg:height="14.173255809557070pt">
      <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="10" fo:letter-spacing="0%"/>
      <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
     </report:field>
     <report:field report:word-wrap="0" report:value="" svg:width="162.992411934921108pt" report:vertical-align="center" report:can-grow="0" svg:x="177.165661435561020pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="field9" report:item-data-source="surname" report:z-index="0" svg:height="14.173255972849645pt">
      <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="10" fo:letter-spacing="0%"/>
      <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
     </report:field>
     <report:field report:word-wrap="0" report:value="" svg:width="42.519759635196834pt" report:vertical-align="center" report:can-grow="0" svg:x="347.244696413699558pt" svg:y="0.000000000000000pt" report:horizontal-align="left" report:name="field10" report:item-data-source="age" report:z-index="0" svg:height="14.173256403350127pt">
      <report:text-style fo:background-color="#ffffff" fo:font-family="Nokia Pure Text" fo:foreground-color="#000000" fo:background-opacity="0%" style:letter-kerning="true" fo:font-size="10" fo:letter-spacing="0%"/>
      <report:line-style report:line-style="nopen" report:line-color="#000000" report:line-weight="1"/>
     </report:field>
    </report:section>
   </report:detail>
  </report:body>
 </report:content>
 <connection type="internal" class="org.kexi-project.table" source="persons"/>
</kexireport>
','layout');
CREATE TABLE kexi__objects (o_id INTEGER PRIMARY KEY, o_type UNSIGNED Byte, o_name Text(200), o_caption Text(200), o_desc CLOB);
INSERT INTO "kexi__objects" VALUES(1,1,'persons','Persons in our company',NULL);
INSERT INTO "kexi__objects" VALUES(2,1,'cars','Cars',NULL);
INSERT INTO "kexi__objects" VALUES(4,3,'persons','Persons in our company',NULL);
INSERT INTO "kexi__objects" VALUES(65,3,'cars','Cars',NULL);
INSERT INTO "kexi__objects" VALUES(103,1,'ownership','Ownership',NULL);
INSERT INTO "kexi__objects" VALUES(104,2,'persons_and_cars','Persons and cars',NULL);
INSERT INTO "kexi__objects" VALUES(105,3,'ownership','Ownership',NULL);
INSERT INTO "kexi__objects" VALUES(107,2,'persons_by_age','Persons by age',NULL);
INSERT INTO "kexi__objects" VALUES(110,4,'persons_and_cars','Persons and cars',NULL);
INSERT INTO "kexi__objects" VALUES(111,4,'cars','Cars',NULL);
INSERT INTO "kexi__objects" VALUES(112,4,'persons','Persons',NULL);
CREATE TABLE kexi__parts (p_id INTEGER PRIMARY KEY, p_name Text(200), p_mime Text(200), p_url Text(200));
INSERT INTO "kexi__parts" VALUES(1,'Tables','kexi/table','org.kexi-project.table');
INSERT INTO "kexi__parts" VALUES(2,'Queries','kexi/query','org.kexi-project.query');
INSERT INTO "kexi__parts" VALUES(3,'Forms','kexi/form','org.kexi-project.form');
INSERT INTO "kexi__parts" VALUES(4,'Reports','kexi/report','org.kexi-project.report');
INSERT INTO "kexi__parts" VALUES(5,'Scripts','kexi/script','org.kexi-project.script');
INSERT INTO "kexi__parts" VALUES(7,'Macros','kexi/macro','org.kexi-project.macro');
CREATE TABLE kexi__querydata (q_id UNSIGNED Integer, q_sql CLOB, q_valid Boolean);
CREATE TABLE kexi__queryfields (q_id UNSIGNED Integer, f_order Integer, f_id Integer, f_tab_asterisk UNSIGNED Integer, f_alltab_asterisk Boolean);
CREATE TABLE kexi__querytables (q_id UNSIGNED Integer, t_id UNSIGNED Integer, t_order UNSIGNED Integer);
CREATE TABLE persons (id INTEGER PRIMARY KEY, age UNSIGNED Integer, name Text(200), surname Text(200));
INSERT INTO "persons" VALUES(1,32,'Georege','Foster');
INSERT INTO "persons" VALUES(2,62,'Joan','Shelley');
INSERT INTO "persons" VALUES(3,51,'William','Gates ™');
INSERT INTO "persons" VALUES(4,45,'John','Smith');
INSERT INTO "persons" VALUES(10,58,'Александр','Пушкин');
INSERT INTO "persons" VALUES(12,79,'Μιχαήλ','Στεφανόπουλος');
CREATE TABLE kexi__blobs (o_id INTEGER PRIMARY KEY, o_data BLOB, o_name Text(200), o_caption Text(200), o_mime Text(200) NOT NULL, o_folder_id Integer UNSIGNED);
INSERT INTO "kexi__blobs" VALUES(1,X'[encoded data, 13302 characters]','office-address-book.png','office-address-book','image/png',0);
INSERT INTO "kexi__blobs" VALUES(2,X'[encoded data, 7594 characters]','folder-black.png','folder-black','image/png',0);
INSERT INTO "kexi__blobs" VALUES(3,X'[encoded data, 8034 characters]','application-x-executable.png','application-x-executable','image/png',0);
CREATE TABLE cars (id INTEGER PRIMARY KEY, model Text(200));
INSERT INTO "cars" VALUES(1,'Fiat');
INSERT INTO "cars" VALUES(2,'Syrena');
INSERT INTO "cars" VALUES(3,'Chrysler');
INSERT INTO "cars" VALUES(4,'Volvo');
INSERT INTO "cars" VALUES(5,'BMW');
CREATE TABLE ownership (id INTEGER PRIMARY KEY, owner Integer, car Integer, since Integer);
INSERT INTO "ownership" VALUES(1,1,1,2004);
INSERT INTO "ownership" VALUES(2,2,2,1982);
INSERT INTO "ownership" VALUES(3,3,3,2002);
INSERT INTO "ownership" VALUES(4,4,4,2005);
INSERT INTO "ownership" VALUES(5,10,4,2006);
INSERT INTO "ownership" VALUES(6,4,1,2003);
INSERT INTO "ownership" VALUES(7,12,3,1999);
CREATE TABLE kexi__userdata (d_user Text NOT NULL, o_id Integer UNSIGNED NOT NULL, d_sub_id Text NOT NULL, d_data CLOB);
INSERT INTO "kexi__userdata" VALUES('',104,'columnWidths','120,120,120,120,120');
INSERT INTO "kexi__userdata" VALUES('',1,'columnWidths','120,120,120,120');
INSERT INTO "kexi__userdata" VALUES('',103,'columnWidths','120,120,120,120');
INSERT INTO "kexi__userdata" VALUES('',2,'columnWidths','120,120');
INSERT INTO "kexi__userdata" VALUES('',107,'columnWidths','120,120,120');
COMMIT;
