Если я правильно понял ваш вопрос, вот пример данных:
CREATE TABLE IF NOT EXISTS id (`id` INT,`w1` INT,`w2` INT
);
INSERT INTO id VALUES
(1,1,5),
(2,2,4),
(3,8,3),
(4,6,2),
(5,7,1),
(6,4,9),
(7,5,7),
(8,2,6),
(9,3,8);`
CREATE TABLE IF NOT EXISTS word (
`w_id` INT,
`word` VARCHAR(5) CHARACTER SET utf8
);
INSERT INTO word VALUES
(1,'one'),
(2,'two'),
(3,'three'),
(4,'four'),
(5,'five'),
(6,'six '),
(7,'seven'),
(8,'eight'),
(9,'nine');`
select id.w1,id.w2,w1.word,w2.word from id
join word w1 on w1.w_id = id.w1
join word w2 on w2.w_id = id.w2;
7 1 seven one
6 2 six two
8 3 eight three
2 4 two four
1 5 one five
2 6 two six
5 7 five seven
3 8 three eight
4 9 four nine
и дайте мне знать, если это сработало.!
Мне очень нравится метод временного бокса Стива Павлина , чтобы избавиться от него. утомительных задач. Это применимо, если у вас есть скучная работа с обезьяньим кодом, которую нужно взломать, или куча мусора в шкафу дома, который вам нужно перебрать.
tl; dr ссылки: Timeboxing означает выделить временной интервал, затем работать, вырезать то, что оставит вас позади. Он предназначен для того, чтобы избавиться от мотивации проволочек, не заставляя утомительную задачу занимать больше времени, чем она того стоит. Помимо утомительных задач, временные рамки могут быть использованы для создания вмятины в чем-то достаточно сложном, чтобы вы не знали, с чего начать.
Если это применимо и возможно, я пытаюсь изучить технологию или методологию, чтобы отстаивать свои интересы. Тем не менее, это не всегда возможно.
Я также обнаружил, что лучше всего разбить какую-то огромную, скучную или пугающую задачу на более мелкие, которые легче глотать.
When I get like this, I think of what a Great man had to say: If not now, when? And I just do it. I find that waiting to get motivated to do things will get me nowhere. I also find that doing things, even when I don't want to, gets me motivated to keep going and to continue working on my project.
Break the task into atomic pieces (as far as possible) and then follow ryeguy's advice of task lists. I like to use the 'Getting Things Done' approach (GTD), and just incorporate the pieces of that task into the rest of my work. Breaking it apart helps minimise the boredom and using a structured task methodology makes sure I still get it all done.
At the end of the crap task, reward yourself and use that as a driver for future tasks of the same ilk.
Обычно я предлагаю одну из моих ежедневных молитв (салат), и после этого я говорю себе: «Ты не пойдешь домой, пока не закончишь это, какой бы ни была задача, или как долго тебе не нужно оставайся в офисе. "
A). Try and do something new as part of the boring task. That could be writing it in a new language or using a different framework technology. Recently I tried scratch-writing a Restful-MVC framework into .NET 2.0 for example.
B). Split my time 50/50 with an interesting project, always deferring the interesting stuff to the afternoon (better to coincide the stimulating work with that lethargic mid-afternoon brain-fail cycle)
C). If you really just have to get through it, treat yourself with things outside of work so you don't get too depressed. Junk food, sleep, xbox time, whatever. Hopefully your partner is accommodating :)
There's no one simple way. The worst thing to do is to start multitasking to avoid tackling the boring stuff. The best way by far is to just do it as soon as possible and as quickly as possible, to get it over with. This becomes a problem if the task is pretty huge, say a weeks or even months worth of work, since it's really difficult to motivate yourself to work with tedious crap day-in, day-out.
Then again, it's all part of the job. You could as well be working at a Kwik-e-mart or sweeping floors somewhere. Tedious tasks need to get done too, unfortunately and there's no quick and easy way out of it.
Amp...lots and lots of Amp....a good sugar buzz is all the motivation I need sometimes...
I generally try to solve the problem in a new way. For example use something you've just learned. Obviously expects bug and longer development time, but at least it'll be still fun.
Or you can just hire some cheap programmers from the other end of the world to finish the job for you :)
If the task is tedious because it is repetative, I write a program to do the task for me. ;-)
One thing that I do when I know I'm putting off doing something (either by doing other tasks or just slacking in general) is to write down a schedule on a piece of paper for what I'm going to do for that day. It sounds stupid, but try it. Just write down what you're going to do and in what time range. The feeling of crossing an item out on your list is great, but the feeling of throwing out that entire list is even better.
Я выливаю зелень из светящейся палочки в мою Mountain Dew.
Я не впадаю в кому кодера. У меня плохо управляемый паралич, при котором я ничего не делаю, потому что боюсь, что любое движение будет неправильным.
Возможно, это не тот ответ, который люди здесь ищут, но я иногда пишу программы для автоматизации этих вещей!
.Никто не упоминал о технике Помодоро. Timebox 25 минут, где вы хотите быть абсолютно спокойным, выключите электронную почту, телефон, IM-клиент и т.д.
Удивительно, как много вы можете на самом деле сделать, работая только над одной вещью :)
Больше информации на этой странице о технике pomodoro