# Query soft limit for Debugbar is reached after 100 queries, additional 1 queries onlyshow the query. Limit can be raised in the config. Limits can be raised in the config (debugbar.options.db.soft_limit)
(select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_journal_volume_trail WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_journal_volume_corporate WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_journal_volume_token WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_ebook_volume_trail WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_ebook_volume_corporate WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_ebook_volume_token WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_issue_trail WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_issue_corporate WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_issue_token WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_article_trail WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_article_corporate WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_article_token WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_chapter_trail WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_chapter_corporate WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_chapter_token WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_disease_corporate WHERE to_ip >=59689235ORDERBY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <=59689235) limit 1
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='104294'and content_type ='a'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='9920'and content_type ='i'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='2679'and content_type ='v'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =2679) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =2679) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =2679)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =9920) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =9920) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =9920)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =104294) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =104294) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =104294)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='25557'and content_type ='a'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='1505'and content_type ='i'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='305'and content_type ='v'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =305) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =305) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =305)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =1505) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =1505) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =1505)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =25557) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =25557) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =25557)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='24317'and content_type ='a'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='1183'and content_type ='i'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='420'and content_type ='v'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =420) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =420) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =420)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =1183) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =1183) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =1183)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =24317) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =24317) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =24317)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='20357'and content_type ='a'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='3776'and content_type ='i'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='162'and content_type ='v'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =162) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =162) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =162)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =3776) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =3776) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =3776)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =20357) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =20357) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =20357)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='105751'and content_type ='a'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='10019'and content_type ='i'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='2722'and content_type ='v'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =2722) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =2722) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =2722)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =10019) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =10019) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =10019)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =105751) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =105751) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =105751)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='10095'and content_type ='a'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='1950'and content_type ='i'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='215'and content_type ='v'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =215) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =215) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =215)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =1950) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =1950) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =1950)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =10095) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =10095) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =10095)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='2785'and content_type ='a'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='95'and content_type ='i'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='151'and content_type ='v'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =151) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =151) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =151)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =95) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =95) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =95)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =2785) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =2785) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =2785)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='80489'and content_type ='a'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='8459'and content_type ='i'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='2326'and content_type ='v'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =2326) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =2326) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =2326)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =8459) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =8459) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =8459)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =80489) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =80489) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =80489)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='29650'and content_type ='a'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='2674'and content_type ='i'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='423'and content_type ='v'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =423) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =423) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =423)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =2674) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =2674) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =2674)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =29650) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =29650) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =29650)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='41798'and content_type ='a'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='4431'and content_type ='i'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
selectcount(*) as total_count, content_type_access_id as access_type from journal_access
where content_type_id ='163'and content_type ='v'and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual=0) or
(from_date isnulland to_date isnulland perpetual=1)
)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =163) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =163) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"volume" as access_level,"" as issue_id,"" as article_id from `user_access_journal_volume_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.volume_id =163)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =4431) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =4431) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"issue" as access_level,j.issue_id,"" as article_id from `user_access_issue_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.issue_id =4431)
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN111THENtrueELSEfalseENDas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_trail` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =41798) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
falseas terms_popup,
"S" as content_download_type,
nullas restricted_user_access_key,
nullas restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_corporate` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =41798) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
falseas terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN0THENfalseELSEtrueENDas tracksAccessByVolume,"article" as access_level, j.issue_id, j.article_id from `user_access_article_token` as `j` innerjoin `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <=59689235and j.to_ip >=59689235 )) and ((j.from_date <=1740775228and j.to_date >=1740775228and j.perpetual=0) or (j.from_date isnulland j.to_date isnulland j.perpetual=1)) and j.article_id =41798)