<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Navigational database - Page 9 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Navigational_database&amp;p=8">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Navigational_database&amp;p=10">3.Next</a>
</p>
<p>joins:  versus <code>find employees, departments where employee.department-code = department.code and department.name="Sales"</code>.  </p>

<p>In practice, however, most navigational APIs have been procedural: the above query would be executed using procedural logic along the lines of the following pseudo-code:</p>

<p><syntaxhighlight lang="cobolfree">get department with name='Sales'get first employee in set department-employeesuntil end-of-set do {  get next employee in set department-employees  process employee}</syntaxhighlight></p>

<p>On</p><p>
<a accesskey="1" href="page.php?w=Navigational_database&amp;p=8">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Navigational_database&amp;p=10">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
