select first_names || ' ' || last_name
from cc_users
where user_id=:user_id
insert into ec_user_session_info
(user_session_id, category_id)
values
(:user_session_id, :category_id)
select category_name
from ec_categories
where category_id=:category_id
select subcategory_name
from ec_subcategories
where subcategory_id=:subcategory_id
select subsubcategory_name
from ec_subsubcategories
where subsubcategory_id=:subsubcategory_id
select * from ec_sub${sub}categories c
where ${sub}category_id = :${sub}category_id
and exists (select 'x'
from ec_products_displayable p, $product_map(sub$sub) s
where p.product_id = s.product_id
and s.sub${sub}category_id = c.sub${sub}category_id)
order by sort_key, sub${sub}category_name